Lines Matching refs:n2ptr
83 unsigned char *ptr1, *ptr2, *n2ptr, *qptr; in bc_divide() local
109 n2ptr = (unsigned char *) n2->n_value + n2->n_len + scale2 - 1; in bc_divide()
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()
177 qguess = (num1[qdig] * 10 + num1[qdig + 1]) / *n2ptr; in bc_divide()
181 …if (n2ptr[1] * qguess > (num1[qdig] * 10 + num1[qdig + 1] - *n2ptr * qguess) * 10 + num1[qdig + 2]… in bc_divide()
184 …if (n2ptr[1] * qguess > (num1[qdig] * 10 + num1[qdig + 1] - *n2ptr * qguess) * 10 + num1[qdig + 2]… in bc_divide()
193 _one_mult(n2ptr, len2, qguess, mval + 1); in bc_divide()
212 ptr2 = (unsigned char *) n2ptr + len2 - 1; in bc_divide()