Searched refs:n_value (Results 1 – 18 of 18) sorted by relevance
/PHP-7.0/ext/bcmath/libbcmath/src/ |
H A D | recmul.c | 76 temp->n_value = value; 92 n1end = (char *) (n1->n_value + n1len - 1); in _bc_simp_mul() 93 n2end = (char *) (n2->n_value + n2len - 1); in _bc_simp_mul() 122 if (val->n_value[0] == 0) in _bc_shift_addsub() 127 accp = (signed char *)(accum->n_value + in _bc_shift_addsub() 204 u0 = new_sub_num (ulen,0, u->n_value); in _bc_rec_mul() 206 u1 = new_sub_num (ulen-n, 0, u->n_value); in _bc_rec_mul() 207 u0 = new_sub_num (n, 0, u->n_value+ulen-n); in _bc_rec_mul() 211 v0 = new_sub_num (vlen,0, v->n_value); in _bc_rec_mul() 213 v1 = new_sub_num (vlen-n, 0, v->n_value); in _bc_rec_mul() [all …]
|
H A D | div.c | 106 if (n2->n_len == 1 && *n2->n_value == 1) in bc_divide() 110 memset (&qval->n_value[n1->n_len],0,scale); in bc_divide() 111 memcpy (qval->n_value, n1->n_value, in bc_divide() 121 n2ptr = (unsigned char *) n2->n_value+n2->n_len+scale2-1; in bc_divide() 133 memcpy (num1+1, n1->n_value, n1->n_len+n1->n_scale); in bc_divide() 138 memcpy (num2, n2->n_value, len2); in bc_divide() 164 memset (qval->n_value, 0, qdigits); in bc_divide() 184 qptr = (unsigned char *) qval->n_value+len2-len1; in bc_divide() 186 qptr = (unsigned char *) qval->n_value; in bc_divide()
|
H A D | doaddsub.c | 65 sumptr = (char *) (sum->n_value + sum_scale + sum_digits); 73 n1ptr = (char *) (n1->n_value + n1->n_len + n1bytes - 1); 74 n2ptr = (char *) (n2->n_value + n2->n_len + n2bytes - 1); 75 sumptr = (char *) (sum->n_value + sum_scale + sum_digits - 1); 159 diffptr = (char *) (diff->n_value + diff_len + diff_scale); 165 n1ptr = (char *) (n1->n_value + n1->n_len + n1->n_scale -1); 166 n2ptr = (char *) (n2->n_value + n2->n_len + n2->n_scale -1); 167 diffptr = (char *) (diff->n_value + diff_len + diff_scale -1);
|
H A D | rmzero.c | 50 while (*num->n_value == 0 && num->n_len > 1) { 51 num->n_value++;
|
H A D | init.c | 74 temp->n_value = temp->n_ptr; 111 BCG(_one_)->n_value[0] = 1; in bc_init_numbers() 113 BCG(_two_)->n_value[0] = 2; in bc_init_numbers()
|
H A D | compare.c | 88 n1ptr = n1->n_value; 89 n2ptr = n2->n_value;
|
H A D | zero.c | 54 nptr = num->n_value; in bc_is_zero()
|
H A D | nearzero.c | 59 nptr = num->n_value;
|
H A D | num2long.c | 56 nptr = num->n_value;
|
H A D | int2num.c | 80 vptr = (*num)->n_value;
|
H A D | num2str.c | 65 nptr = num->n_value;
|
H A D | add.c | 75 memset (sum->n_value, 0, res_scale+1);
|
H A D | sub.c | 76 memset (diff->n_value, 0, res_scale+1);
|
H A D | str2num.c | 91 nptr = (*num)->n_value; in bc_str2num()
|
H A D | raise.c | 60 if (exponent == 0 && (num2->n_len > 1 || num2->n_value[0] != 0)) in bc_raise()
|
H A D | sqrt.c | 78 point5->n_value[1] = 5; in bc_sqrt()
|
H A D | bcmath.h | 50 char *n_value; /* The number. Not zero char terminated. member
|
H A D | output.c | 110 nptr = num->n_value; in bc_out_num()
|
Completed in 26 milliseconds