Lines Matching refs:qhat
89 u_long qhat, rhat, t;
201 * D3: Calculate qhat (\^q, in TeX notation).
202 * Let qhat = min((u[j]*B + u[j+1])/v[1], B-1), and
204 * While rhat < B and v[2]*qhat > rhat*B+u[j+2],
205 * decrement qhat and increase rhat correspondingly.
206 * Note that if rhat >= B, v[2]*qhat < rhat*B.
212 qhat = B;
217 qhat = n / v1;
220 while (v2 * qhat > COMBINE(rhat, uj2)) {
222 qhat--;
233 t = u[i + j] - v[i] * qhat - t;
242 * in that (rare) case, qhat was too large (by exactly 1).
246 qhat--;
254 q[j] = qhat;