Home | History | Annotate | Download | only in generic

Lines Matching defs:qn

50   mp_size_t qn;
75 qn = nn + 1 - dn;
82 ss = (dn > qn) ? qn + 1 : dn;
88 /* Since we have excluded dn == 1, we have nn > qn, and we need
89 to shift one limb beyond qn. */
90 wp = TMP_ALLOC_LIMBS (qn + 1);
91 mpn_rshift (wp, np, qn + 1, shift);
95 if (dn > qn)
96 dn = qn;
98 tp = TMP_ALLOC_LIMBS (mpn_bdiv_q_itch (qn, dn));
99 mpn_bdiv_q (qp, np, qn, dp, dn, tp);
102 /* Since bdiv_q computes -N/D (mod B^{qn}), we must negate now. */
103 mpn_neg (qp, qp, qn);
139 mp_size_t qn;
154 qn = nn - dn + 1;
157 if (dn < DIVEXACT_JEB_THRESHOLD || qn < DIVEXACT_JEB_THRESHOLD)
160 MPN_COPY (tp, np, qn);
162 dn = MIN (dn, qn);
163 mpn_sbpi1_bdiv_q (qp, tp, qn, dp, dn, di);
177 MPN_COPY (tp, np, qn);
179 dn = MIN (dn, qn);
180 mpn_sbpi1_bdiv_q (qp, tp, qn, dp, dn, di);
185 MPN_COPY (tp, np, qn);
187 mpn_dcpi1_bdiv_q (qp, tp, qn, dp, dn, di);
191 mpn_mu_bdiv_q (qp, np, qn, dp, dn, scratch);