Lines Matching defs:qhat
86 u_int qhat, rhat, t;
198 * D3: Calculate qhat (\^q, in TeX notation).
199 * Let qhat = min((u[j]*B + u[j+1])/v[1], B-1), and
201 * While rhat < B and v[2]*qhat > rhat*B+u[j+2],
202 * decrement qhat and increase rhat correspondingly.
203 * Note that if rhat >= B, v[2]*qhat < rhat*B.
209 qhat = B;
214 qhat = nn / v1;
217 while (v2 * qhat > COMBINE(rhat, uj2)) {
219 qhat--;
230 t = u[i + j] - v[i] * qhat - t;
239 * in that (rare) case, qhat was too large (by exactly 1).
243 qhat--;
251 q[j] = qhat;