Home
last modified time | relevance | path

Searched refs:n2ptr (Results 1 – 4 of 4) sorted by relevance

/PHP-5.3/ext/bcmath/libbcmath/src/
H A Ddiv.c92 unsigned char *ptr1, *ptr2, *n2ptr, *qptr; in bc_divide() local
140 n2ptr = num2; in bc_divide()
141 while (*n2ptr == 0) in bc_divide()
143 n2ptr++; in bc_divide()
174 norm = 10 / ((int)*n2ptr + 1); in bc_divide()
178 _one_mult (n2ptr, len2, norm, n2ptr); in bc_divide()
192 if (*n2ptr == num1[qdig]) in bc_divide()
198 if (n2ptr[1]*qguess > in bc_divide()
204 if (n2ptr[1]*qguess > in bc_divide()
215 _one_mult (n2ptr, len2, qguess, mval+1); in bc_divide()
[all …]
H A Dcompare.c52 char *n1ptr, *n2ptr; local
89 n2ptr = n2->n_value;
91 while ((count > 0) && (*n1ptr == *n2ptr))
94 n2ptr++;
101 if (*n1ptr > *n2ptr)
137 if (*n2ptr++ != 0)
H A Ddoaddsub.c53 char *n1ptr, *n2ptr, *sumptr; local
74 n2ptr = (char *) (n2->n_value + n2->n_len + n2bytes - 1);
85 { *sumptr-- = *n2ptr--; n2bytes--;}
94 *sumptr = *n1ptr-- + *n2ptr-- + carry;
109 { n1bytes = n2bytes; n1ptr = n2ptr; }
146 char *n1ptr, *n2ptr, *diffptr; local
166 n2ptr = (char *) (n2->n_value + n2->n_len + n2->n_scale -1);
184 val = - *n2ptr-- - borrow;
200 val = *n1ptr-- - *n2ptr-- - borrow;
H A Drecmul.c84 char *n1ptr, *n2ptr, *pvptr; in _bc_simp_mul() local
101 n2ptr = (char *) (n2end - MIN(indx, n2len-1)); in _bc_simp_mul()
102 while ((n1ptr >= n1->n_value) && (n2ptr <= n2end)) in _bc_simp_mul()
103 sum += *n1ptr-- * *n2ptr++; in _bc_simp_mul()

Completed in 10 milliseconds