Searched refs:qhat (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sys/libkern/
H A Dqdivrem.c86 u_long qhat, rhat, t; local
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
[all...]
/freebsd-11-stable/lib/libc/quad/
H A Dqdivrem.c89 u_long qhat, rhat, t; local
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
[all...]

Completed in 223 milliseconds