Lines Matching refs:n2ptr
92 unsigned char *ptr1, *ptr2, *n2ptr, *qptr; in bc_divide() local
121 n2ptr = (unsigned char *) n2->n_value+n2->n_len+scale2-1; in bc_divide()
122 while ((scale2 > 0) && (*n2ptr-- == 0)) scale2--; in bc_divide()
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()
195 qguess = (num1[qdig]*10 + num1[qdig+1]) / *n2ptr; in bc_divide()
198 if (n2ptr[1]*qguess > in bc_divide()
199 (num1[qdig]*10 + num1[qdig+1] - *n2ptr*qguess)*10 in bc_divide()
204 if (n2ptr[1]*qguess > in bc_divide()
205 (num1[qdig]*10 + num1[qdig+1] - *n2ptr*qguess)*10 in bc_divide()
215 _one_mult (n2ptr, len2, qguess, mval+1); in bc_divide()
237 ptr2 = (unsigned char *) n2ptr+len2-1; in bc_divide()