Lines Matching refs:qhat
87 u_int qhat, rhat, t;
199 * D3: Calculate qhat (\^q, in TeX notation).
200 * Let qhat = min((u[j]*B + u[j+1])/v[1], B-1), and
202 * While rhat < B and v[2]*qhat > rhat*B+u[j+2],
203 * decrement qhat and increase rhat correspondingly.
204 * Note that if rhat >= B, v[2]*qhat < rhat*B.
210 qhat = B;
215 qhat = nn / v1;
218 while (v2 * qhat > COMBINE(rhat, uj2)) {
220 qhat--;
231 t = u[i + j] - v[i] * qhat - t;
240 * in that (rare) case, qhat was too large (by exactly 1).
244 qhat--;
252 q[j] = qhat;