dn 930 maint/gnulib/lib/mini-gmp.c mp_srcptr dp, mp_size_t dn) dn 932 maint/gnulib/lib/mini-gmp.c assert (dn > 0); dn 934 maint/gnulib/lib/mini-gmp.c if (dn == 1) dn 936 maint/gnulib/lib/mini-gmp.c else if (dn == 2) dn 943 maint/gnulib/lib/mini-gmp.c d1 = dp[dn-1]; dn 944 maint/gnulib/lib/mini-gmp.c d0 = dp[dn-2]; dn 951 maint/gnulib/lib/mini-gmp.c d0 = (d0 << shift) | (dp[dn-3] >> (GMP_LIMB_BITS - shift)); dn 1048 maint/gnulib/lib/mini-gmp.c mp_srcptr dp, mp_size_t dn, dn 1057 maint/gnulib/lib/mini-gmp.c assert (dn > 2); dn 1058 maint/gnulib/lib/mini-gmp.c assert (nn >= dn); dn 1060 maint/gnulib/lib/mini-gmp.c d1 = dp[dn - 1]; dn 1061 maint/gnulib/lib/mini-gmp.c d0 = dp[dn - 2]; dn 1070 maint/gnulib/lib/mini-gmp.c i = nn - dn; dn 1073 maint/gnulib/lib/mini-gmp.c mp_limb_t n0 = np[dn-1+i]; dn 1078 maint/gnulib/lib/mini-gmp.c mpn_submul_1 (np+i, dp, dn, q); dn 1079 maint/gnulib/lib/mini-gmp.c n1 = np[dn-1+i]; /* update n1, last loop's value will now be invalid */ dn 1083 maint/gnulib/lib/mini-gmp.c gmp_udiv_qr_3by2 (q, n1, n0, n1, n0, np[dn-2+i], d1, d0, dinv); dn 1085 maint/gnulib/lib/mini-gmp.c cy = mpn_submul_1 (np + i, dp, dn-2, q); dn 1091 maint/gnulib/lib/mini-gmp.c np[dn-2+i] = n0; dn 1095 maint/gnulib/lib/mini-gmp.c n1 += d1 + mpn_add_n (np + i, np + i, dp, dn - 1); dn 1105 maint/gnulib/lib/mini-gmp.c np[dn - 1] = n1; dn 1110 maint/gnulib/lib/mini-gmp.c mp_srcptr dp, mp_size_t dn, dn 1113 maint/gnulib/lib/mini-gmp.c assert (dn > 0); dn 1114 maint/gnulib/lib/mini-gmp.c assert (nn >= dn); dn 1116 maint/gnulib/lib/mini-gmp.c if (dn == 1) dn 1118 maint/gnulib/lib/mini-gmp.c else if (dn == 2) dn 1125 maint/gnulib/lib/mini-gmp.c assert (inv->d1 == dp[dn-1]); dn 1126 maint/gnulib/lib/mini-gmp.c assert (inv->d0 == dp[dn-2]); dn 1135 maint/gnulib/lib/mini-gmp.c mpn_div_qr_pi1 (qp, np, nn, nh, dp, dn, inv->di); dn 1138 maint/gnulib/lib/mini-gmp.c gmp_assert_nocarry (mpn_rshift (np, np, dn, shift)); dn 1143 maint/gnulib/lib/mini-gmp.c mpn_div_qr (mp_ptr qp, mp_ptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn) dn 1148 maint/gnulib/lib/mini-gmp.c assert (dn > 0); dn 1149 maint/gnulib/lib/mini-gmp.c assert (nn >= dn); dn 1151 maint/gnulib/lib/mini-gmp.c mpn_div_qr_invert (&inv, dp, dn); dn 1152 maint/gnulib/lib/mini-gmp.c if (dn > 2 && inv.shift > 0) dn 1154 maint/gnulib/lib/mini-gmp.c tp = gmp_alloc_limbs (dn); dn 1155 maint/gnulib/lib/mini-gmp.c gmp_assert_nocarry (mpn_lshift (tp, dp, dn, inv.shift)); dn 1158 maint/gnulib/lib/mini-gmp.c mpn_div_qr_preinv (qp, np, nn, dp, dn, &inv); dn 1160 maint/gnulib/lib/mini-gmp.c gmp_free_limbs (tp, dn); dn 2190 maint/gnulib/lib/mini-gmp.c mp_size_t ns, ds, nn, dn, qs; dn 2207 maint/gnulib/lib/mini-gmp.c dn = GMP_ABS (ds); dn 2211 maint/gnulib/lib/mini-gmp.c if (nn < dn) dn 2248 maint/gnulib/lib/mini-gmp.c qn = nn - dn + 1; dn 2258 maint/gnulib/lib/mini-gmp.c mpn_div_qr (qp, np, nn, d->_mp_d, dn); dn 2266 maint/gnulib/lib/mini-gmp.c rn = mpn_normalized_size (np, dn); dn 3672 maint/gnulib/lib/mini-gmp.c mp_size_t dn; dn 3677 maint/gnulib/lib/mini-gmp.c dn = GMP_ABS (ds); dn 3679 maint/gnulib/lib/mini-gmp.c if (limb_index >= dn) dn 3702 maint/gnulib/lib/mini-gmp.c mp_size_t dn, limb_index; dn 3706 maint/gnulib/lib/mini-gmp.c dn = GMP_ABS (d->_mp_size); dn 3711 maint/gnulib/lib/mini-gmp.c if (limb_index >= dn) dn 3719 maint/gnulib/lib/mini-gmp.c for (i = dn; i < limb_index; i++) dn 3721 maint/gnulib/lib/mini-gmp.c dn = limb_index + 1; dn 3729 maint/gnulib/lib/mini-gmp.c cy = mpn_add_1 (dp + limb_index, dp + limb_index, dn - limb_index, bit); dn 3732 maint/gnulib/lib/mini-gmp.c dp = MPZ_REALLOC (d, dn + 1); dn 3733 maint/gnulib/lib/mini-gmp.c dp[dn++] = cy; dn 3737 maint/gnulib/lib/mini-gmp.c d->_mp_size = (d->_mp_size < 0) ? - dn : dn; dn 3743 maint/gnulib/lib/mini-gmp.c mp_size_t dn, limb_index; dn 3747 maint/gnulib/lib/mini-gmp.c dn = GMP_ABS (d->_mp_size); dn 3753 maint/gnulib/lib/mini-gmp.c assert (limb_index < dn); dn 3756 maint/gnulib/lib/mini-gmp.c dn - limb_index, bit)); dn 3757 maint/gnulib/lib/mini-gmp.c dn = mpn_normalized_size (dp, dn); dn 3758 maint/gnulib/lib/mini-gmp.c d->_mp_size = (d->_mp_size < 0) ? - dn : dn; dn 4316 maint/gnulib/lib/mini-gmp.c size_t dn, sn; dn 4358 maint/gnulib/lib/mini-gmp.c for (dn = 0; *sp; sp++) dn 4380 maint/gnulib/lib/mini-gmp.c dp[dn++] = digit; dn 4383 maint/gnulib/lib/mini-gmp.c if (!dn) dn 4393 maint/gnulib/lib/mini-gmp.c alloc = (dn * bits + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; dn 4395 maint/gnulib/lib/mini-gmp.c rn = mpn_set_str_bits (rp, dp, dn, bits); dn 4401 maint/gnulib/lib/mini-gmp.c alloc = (dn + info.exp - 1) / info.exp; dn 4403 maint/gnulib/lib/mini-gmp.c rn = mpn_set_str_other (rp, dp, dn, base, &info);