Searched refs:n2ptr (Results 1 – 4 of 4) sorted by relevance
/PHP-8.3/ext/bcmath/libbcmath/src/ |
H A D | div.c | 83 unsigned char *ptr1, *ptr2, *n2ptr, *qptr; in bc_divide() local 110 while ((scale2 > 0) && (*n2ptr == 0)) { in bc_divide() 112 n2ptr--; in bc_divide() 127 n2ptr = num2; in bc_divide() 128 while (*n2ptr == 0) { in bc_divide() 129 n2ptr++; in bc_divide() 157 norm = 10 / ((int) *n2ptr + 1); in bc_divide() 160 _one_mult(n2ptr, len2, norm, n2ptr); in bc_divide() 174 if (*n2ptr == num1[qdig]) { in bc_divide() 181 …if (n2ptr[1] * qguess > (num1[qdig] * 10 + num1[qdig + 1] - *n2ptr * qguess) * 10 + num1[qdig + 2]… in bc_divide() [all …]
|
H A D | compare.c | 44 char *n1ptr, *n2ptr; in _bc_do_compare() local 80 n2ptr = n2->n_value; in _bc_do_compare() 82 while ((count > 0) && (*n1ptr == *n2ptr)) { in _bc_do_compare() 84 n2ptr++; in _bc_do_compare() 92 if (*n1ptr > *n2ptr) { in _bc_do_compare() 124 if (*n2ptr++ != 0) { in _bc_do_compare()
|
H A D | doaddsub.c | 45 char *n1ptr, *n2ptr, *sumptr; in _bc_do_add() local 66 n2ptr = (char *) (n2->n_value + n2->n_len + n2bytes - 1); in _bc_do_add() 78 *sumptr-- = *n2ptr--; in _bc_do_add() 89 *sumptr = *n1ptr-- + *n2ptr-- + carry; in _bc_do_add() 104 n1ptr = n2ptr; in _bc_do_add() 139 char *n1ptr, *n2ptr, *diffptr; in _bc_do_sub() local 158 n2ptr = (char *) (n2->n_value + n2->n_len + n2->n_scale - 1); in _bc_do_sub() 173 val = -*n2ptr-- - borrow; in _bc_do_sub() 186 val = *n1ptr-- - *n2ptr-- - borrow; in _bc_do_sub()
|
H A D | recmul.c | 66 char *n1ptr, *n2ptr, *pvptr; in _bc_simp_mul() local 81 n2ptr = (char *) (n2end - MIN(index, n2len - 1)); in _bc_simp_mul() 82 while ((n1ptr >= n1->n_value) && (n2ptr <= n2end)) { in _bc_simp_mul() 83 sum += *n1ptr * *n2ptr; in _bc_simp_mul() 85 n2ptr++; in _bc_simp_mul()
|
Completed in 37 milliseconds