Home
last modified time | relevance | path

Searched refs:n_value (Results 1 – 18 of 18) sorted by relevance

/PHP-7.0/ext/bcmath/libbcmath/src/
H A Drecmul.c76 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 Ddiv.c106 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 Ddoaddsub.c65 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 Drmzero.c50 while (*num->n_value == 0 && num->n_len > 1) {
51 num->n_value++;
H A Dinit.c74 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 Dcompare.c88 n1ptr = n1->n_value;
89 n2ptr = n2->n_value;
H A Dzero.c54 nptr = num->n_value; in bc_is_zero()
H A Dnearzero.c59 nptr = num->n_value;
H A Dnum2long.c56 nptr = num->n_value;
H A Dint2num.c80 vptr = (*num)->n_value;
H A Dnum2str.c65 nptr = num->n_value;
H A Dadd.c75 memset (sum->n_value, 0, res_scale+1);
H A Dsub.c76 memset (diff->n_value, 0, res_scale+1);
H A Dstr2num.c91 nptr = (*num)->n_value; in bc_str2num()
H A Draise.c60 if (exponent == 0 && (num2->n_len > 1 || num2->n_value[0] != 0)) in bc_raise()
H A Dsqrt.c78 point5->n_value[1] = 5; in bc_sqrt()
H A Dbcmath.h50 char *n_value; /* The number. Not zero char terminated. member
H A Doutput.c110 nptr = num->n_value; in bc_out_num()

Completed in 26 milliseconds