Lines Matching refs:qhat
88 ulong_t qhat, rhat, t;
200 * D3: Calculate qhat (\^q, in TeX notation).
201 * Let qhat = min((u[j]*B + u[j+1])/v[1], B-1), and
203 * While rhat < B and v[2]*qhat > rhat*B+u[j+2],
204 * decrement qhat and increase rhat correspondingly.
205 * Note that if rhat >= B, v[2]*qhat < rhat*B.
211 qhat = B;
216 qhat = n / v1;
219 while (v2 * qhat > COMBINE(rhat, uj2)) {
221 qhat--;
232 t = u[i + j] - v[i] * qhat - t;
241 * in that (rare) case, qhat was too large (by exactly 1).
245 qhat--;
253 q[j] = (digit)qhat;