Searched refs:d1 (Results 1 – 3 of 3) sorted by relevance
/lib/mpi/ |
D | mpih-div.c | 90 mpi_limb_t d1, d0; in mpihelp_divrem() local 93 d1 = dp[1]; in mpihelp_divrem() 98 if (n1 >= d1 && (n1 > d1 || n0 >= d0)) { in mpihelp_divrem() 99 sub_ddmmss(n1, n0, n1, n0, d1, d0); in mpihelp_divrem() 112 if (n1 == d1) { in mpihelp_divrem() 118 r = n0 + d1; in mpihelp_divrem() 119 if (r < d1) { /* Carry in the addition? */ in mpihelp_divrem() 128 udiv_qrnnd(q, r, n1, n0, d1); in mpihelp_divrem() 138 r += d1; in mpihelp_divrem() 139 if (r >= d1) /* If not carry, test Q again. */ in mpihelp_divrem() [all …]
|
/lib/math/ |
D | rational.c | 36 unsigned long n, d, n0, d0, n1, d1; in rational_best_approximation() local 39 n0 = d1 = 0; in rational_best_approximation() 43 if ((n1 > max_numerator) || (d1 > max_denominator)) { in rational_best_approximation() 45 d1 = d0; in rational_best_approximation() 57 t = d0 + a * d1; in rational_best_approximation() 58 d0 = d1; in rational_best_approximation() 59 d1 = t; in rational_best_approximation() 62 *best_denominator = d1; in rational_best_approximation()
|
/lib/ |
D | vsprintf.c | 303 uint32_t d3, d2, d1, q, h; in put_dec() local 308 d1 = ((uint32_t)n >> 16); /* implicit "& 0xffff" */ in put_dec() 315 q = 656 * d3 + 7296 * d2 + 5536 * d1 + ((uint32_t)n & 0xffff); in put_dec() 318 q += 7671 * d3 + 9496 * d2 + 6 * d1; in put_dec()
|