Home
last modified time | relevance | path

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

/PHP-8.2/ext/bcmath/libbcmath/src/
H A Drecmul.c64 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 Ddiv.c101 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 Ddoaddsub.c64 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 Drmzero.c49 while (*num->n_value == 0 && num->n_len > 1) {
50 num->n_value++;
H A Dinit.c55 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 Dcompare.c87 n1ptr = n1->n_value;
88 n2ptr = n2->n_value;
H A Dnearzero.c58 nptr = num->n_value;
H A Dzero.c53 nptr = num->n_value; in bc_is_zero_for_scale()
H A Dnum2long.c55 nptr = num->n_value;
H A Dint2num.c79 vptr = (*num)->n_value;
H A Dadd.c74 memset (sum->n_value, 0, res_scale+1);
H A Dsub.c75 memset (diff->n_value, 0, res_scale+1);
H A Dnum2str.c64 nptr = num->n_value;
H A Dstr2num.c90 nptr = (*num)->n_value; in bc_str2num()
H A Draise.c62 if (exponent == 0 && (num2->n_len > 1 || num2->n_value[0] != 0)) { in bc_raise()
H A Dsqrt.c76 point5->n_value[1] = 5; in bc_sqrt()
H A Dbcmath.h49 char *n_value; /* The number. Not zero char terminated. member
H A Doutput.c97 nptr = num->n_value; in bc_out_num()

Completed in 19 milliseconds