Searched refs:n_value (Results 1 – 18 of 18) sorted by relevance
/PHP-8.2/ext/bcmath/libbcmath/src/ |
H A D | recmul.c | 64 temp->n_value = value; in new_sub_num() 80 n1end = (char *) (n1->n_value + n1len - 1); in _bc_simp_mul() 81 n2end = (char *) (n2->n_value + n2len - 1); in _bc_simp_mul() 110 if (val->n_value[0] == 0) in _bc_shift_addsub() 115 accp = (signed char *)(accum->n_value + in _bc_shift_addsub() 192 u0 = new_sub_num (ulen,0, u->n_value); in _bc_rec_mul() 194 u1 = new_sub_num (ulen-n, 0, u->n_value); in _bc_rec_mul() 195 u0 = new_sub_num (n, 0, u->n_value+ulen-n); in _bc_rec_mul() 199 v0 = new_sub_num (vlen,0, v->n_value); in _bc_rec_mul() 201 v1 = new_sub_num (vlen-n, 0, v->n_value); in _bc_rec_mul() [all …]
|
H A D | div.c | 101 if (n2->n_len == 1 && *n2->n_value == 1) in bc_divide() 105 memset (&qval->n_value[n1->n_len],0,scale); in bc_divide() 106 memcpy (qval->n_value, n1->n_value, in bc_divide() 116 n2ptr = (unsigned char *) n2->n_value+n2->n_len+scale2-1; in bc_divide() 127 memcpy (num1+1, n1->n_value, n1->n_len+n1->n_scale); in bc_divide() 131 memcpy (num2, n2->n_value, len2); in bc_divide() 157 memset (qval->n_value, 0, qdigits); in bc_divide() 176 qptr = (unsigned char *) qval->n_value+len2-len1; in bc_divide() 178 qptr = (unsigned char *) qval->n_value; in bc_divide()
|
H A D | doaddsub.c | 64 sumptr = (char *) (sum->n_value + sum_scale + sum_digits); 72 n1ptr = (char *) (n1->n_value + n1->n_len + n1bytes - 1); 73 n2ptr = (char *) (n2->n_value + n2->n_len + n2bytes - 1); 74 sumptr = (char *) (sum->n_value + sum_scale + sum_digits - 1); 158 diffptr = (char *) (diff->n_value + diff_len + diff_scale); 164 n1ptr = (char *) (n1->n_value + n1->n_len + n1->n_scale -1); 165 n2ptr = (char *) (n2->n_value + n2->n_len + n2->n_scale -1); 166 diffptr = (char *) (diff->n_value + diff_len + diff_scale -1);
|
H A D | rmzero.c | 49 while (*num->n_value == 0 && num->n_len > 1) { 50 num->n_value++;
|
H A D | init.c | 55 temp->n_value = temp->n_ptr; 88 BCG(_one_)->n_value[0] = 1; in bc_init_numbers() 90 BCG(_two_)->n_value[0] = 2; in bc_init_numbers()
|
H A D | compare.c | 87 n1ptr = n1->n_value; 88 n2ptr = n2->n_value;
|
H A D | nearzero.c | 58 nptr = num->n_value;
|
H A D | zero.c | 53 nptr = num->n_value; in bc_is_zero_for_scale()
|
H A D | num2long.c | 55 nptr = num->n_value;
|
H A D | int2num.c | 79 vptr = (*num)->n_value;
|
H A D | add.c | 74 memset (sum->n_value, 0, res_scale+1);
|
H A D | sub.c | 75 memset (diff->n_value, 0, res_scale+1);
|
H A D | num2str.c | 64 nptr = num->n_value;
|
H A D | str2num.c | 90 nptr = (*num)->n_value; in bc_str2num()
|
H A D | raise.c | 62 if (exponent == 0 && (num2->n_len > 1 || num2->n_value[0] != 0)) { in bc_raise()
|
H A D | sqrt.c | 76 point5->n_value[1] = 5; in bc_sqrt()
|
H A D | bcmath.h | 49 char *n_value; /* The number. Not zero char terminated. member
|
H A D | output.c | 97 nptr = num->n_value; in bc_out_num()
|
Completed in 19 milliseconds