Searched refs:n2ptr (Results 1 – 4 of 4) sorted by relevance
/PHP-7.2/ext/bcmath/libbcmath/src/ |
H A D | div.c | 92 unsigned char *ptr1, *ptr2, *n2ptr, *qptr; in bc_divide() local 138 n2ptr = num2; in bc_divide() 139 while (*n2ptr == 0) in bc_divide() 141 n2ptr++; in bc_divide() 171 norm = 10 / ((int)*n2ptr + 1); in bc_divide() 175 _one_mult (n2ptr, len2, norm, n2ptr); in bc_divide() 189 if (*n2ptr == num1[qdig]) in bc_divide() 195 if (n2ptr[1]*qguess > in bc_divide() 201 if (n2ptr[1]*qguess > in bc_divide() 212 _one_mult (n2ptr, len2, qguess, mval+1); in bc_divide() [all …]
|
H A D | compare.c | 52 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 D | doaddsub.c | 53 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 D | recmul.c | 75 char *n1ptr, *n2ptr, *pvptr; in _bc_simp_mul() local 92 n2ptr = (char *) (n2end - MIN(indx, n2len-1)); in _bc_simp_mul() 93 while ((n1ptr >= n1->n_value) && (n2ptr <= n2end)) in _bc_simp_mul() 94 sum += *n1ptr-- * *n2ptr++; in _bc_simp_mul()
|
Completed in 14 milliseconds