Home
last modified time | relevance | path

Searched refs:n0 (Results 1 – 3 of 3) sorted by relevance

/lib/mpi/
Dmpih-div.c102 mpi_limb_t n1, n0, n2; in mpihelp_divrem() local
109 n0 = np[0]; in mpihelp_divrem()
111 if (n1 >= d1 && (n1 > d1 || n0 >= d0)) { in mpihelp_divrem()
112 sub_ddmmss(n1, n0, n1, n0, d1, d0); in mpihelp_divrem()
131 r = n0 + d1; in mpihelp_divrem()
133 add_ssaaaa(n1, n0, r - d0, in mpihelp_divrem()
139 n0 = -d0; in mpihelp_divrem()
141 udiv_qrnnd(q, r, n1, n0, d1); in mpihelp_divrem()
142 umul_ppmm(n1, n0, d0, q); in mpihelp_divrem()
147 if (n1 > r || (n1 == r && n0 > n2)) { in mpihelp_divrem()
[all …]
Dlonglong.h144 #define udiv_qrnnd(q, r, n1, n0, d) \ argument
149 "r" ((USItype)(n0)), \
165 #define udiv_qrnnd(q, r, n1, n0, d) \ argument
167 (q) = __udiv_qrnnd(&__r, (n1), (n0), (d)); \
342 #define udiv_qrnnd(q, r, n1, n0, d) \
344 (q) = __udiv_qrnnd(&__r, (n1), (n0), (d)); \
382 #define sdiv_qrnnd(q, r, n1, n0, d) \ argument
387 __xx.__i.__h = n1; __xx.__i.__l = n0; \
424 #define udiv_qrnnd(q, r, n1, n0, d) \ argument
428 : "0" ((USItype)(n0)), \
[all …]
/lib/
Drational.c35 unsigned long n, d, n0, d0, n1, d1; in rational_best_approximation() local
38 n0 = d1 = 0; in rational_best_approximation()
43 n1 = n0; in rational_best_approximation()
53 t = n0 + a * n1; in rational_best_approximation()
54 n0 = n1; in rational_best_approximation()