Home
last modified time | relevance | path

Searched refs:mpz_mul_2exp (Results 1 – 25 of 114) sorted by relevance

12345

/netbsd/external/lgpl3/gmp/dist/
H A Dgen-trialdivtab.c246 mpz_mul_2exp (t, t, limb_bits - cnt); in mpn_mod_1s_4p_cps()
248 mpz_mul_2exp (t, t, limb_bits); in mpn_mod_1s_4p_cps()
252 mpz_mul_2exp (t, t, limb_bits); /* t = B */ in mpn_mod_1s_4p_cps()
255 mpz_mul_2exp (t, B1modb, limb_bits); in mpn_mod_1s_4p_cps()
258 mpz_mul_2exp (t, B2modb, limb_bits); in mpn_mod_1s_4p_cps()
261 mpz_mul_2exp (t, B3modb, limb_bits); in mpn_mod_1s_4p_cps()
264 mpz_mul_2exp (t, B4modb, limb_bits); in mpn_mod_1s_4p_cps()
H A Dgen-bases.c71 mpz_mul_2exp (t, t, numb_bits); in generate()
85 mpz_mul_2exp (t, t, 2*limb_bits - normalization_steps); in generate()
141 mpz_mul_2exp (b, b, prec+EXTRA); in mp_2logb()
145 mpz_mul_2exp (b, b, prec+EXTRA); in mp_2logb()
193 mpz_mul_2exp (t, t, 2*limb_bits + 5); in table()
/netbsd/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-div_2exp.c42 mpz_mul_2exp (d2exp, d2exp, d); in check_one()
58 mpz_mul_2exp (p, q, d); in check_one()
75 mpz_mul_2exp (p, q, d); in check_one()
92 mpz_mul_2exp (p, q, d); in check_one()
172 mpz_mul_2exp (a, a, n); in check_various()
H A Dt-get_d_2exp.c68 mpz_mul_2exp (z, z, data[i]); in check_onebit()
84 mpz_mul_2exp (z, z, data[i]); in check_onebit()
123 mpz_mul_2exp (z, z, data[i]); in check_round()
H A Dt-cong_2exp.c44 mpz_mul_2exp (d2exp, d2exp, d); in check_one()
127 mpz_mul_2exp (a, a, urandom() % (2*GMP_LIMB_BITS)); in check_random()
128 mpz_mul_2exp (c, c, urandom() % (2*GMP_LIMB_BITS)); in check_random()
H A Dt-cmp_d.c132 mpz_mul_2exp (x, x, 1); in check_onebits()
175 mpz_mul_2exp (x, x, i); in check_low_z_one()
267 mpz_mul_2exp (x, x, 5000L); in check_infinity()
H A Dt-bit.c57 mpz_mul_2exp (got, got, 10*GMP_NUMB_BITS); in check_clr_extend()
62 mpz_mul_2exp (got, got, i*GMP_NUMB_BITS-1); in check_clr_extend()
72 mpz_mul_2exp (want, want, i*GMP_NUMB_BITS); in check_clr_extend()
94 mpz_mul_2exp (want, want, i*GMP_NUMB_BITS - 1); in check_clr_extend()
H A Dt-hamdist.c90 mpz_mul_2exp (x, x, urandom() % (4 * GMP_NUMB_BITS)); in check_rand()
94 mpz_mul_2exp (y, y, urandom() % (4 * GMP_NUMB_BITS)); in check_rand()
H A Dt-gcd_ui.c39 mpz_mul_2exp (x, x, 1L); in check_ui_range()
85 mpz_mul_2exp (f, f, 1); in check_ui_factors()
H A Dt-io_raw.c129 mpz_mul_2exp (want, want, 8); in check_in()
213 mpz_mul_2exp (z, z, 8); in check_out()
/netbsd/external/lgpl3/mpfr/dist/src/
H A Drem1.c130 mpz_mul_2exp (my, my, ey - ex); /* divide mx by my*2^(ey-ex) */ in mpfr_rem1()
152 mpz_mul_2exp (my, my, WANTED_BITS); /* 2^WANTED_BITS*Y */ in mpfr_rem1()
160 mpz_mul_2exp (my, my, 1); /* 2Y */ in mpfr_rem1()
210 mpz_mul_2exp (r, r, 1); in mpfr_rem1()
219 mpz_mul_2exp (my, my, ey - ex); in mpfr_rem1()
H A Dgrandom.c109 mpz_mul_2exp (xp, xp, 32); in mpfr_grandom()
110 mpz_mul_2exp (yp, yp, 32); in mpfr_grandom()
168 mpz_mul_2exp (xp, xp, 32); in mpfr_grandom()
169 mpz_mul_2exp (yp, yp, 32); in mpfr_grandom()
H A Datan.c194 mpz_mul_2exp (S[k], Q[k+1], r); in mpfr_atan_aux()
206 mpz_mul_2exp (S[k-1], S[k-1], r << l); in mpfr_atan_aux()
229 mpz_mul_2exp (S[k], Q[k+1], r); in mpfr_atan_aux()
238 mpz_mul_2exp (S[k-1], S[k-1], r << l); in mpfr_atan_aux()
257 mpz_mul_2exp (S[k-1], S[k-1], r * h); in mpfr_atan_aux()
268 mpz_mul_2exp (S[0], S[0], -diff); in mpfr_atan_aux()
276 mpz_mul_2exp (Q[0], Q[0], -diff); in mpfr_atan_aux()
H A Drandom_deviate.c153 mpz_mul_2exp (x->f, x->f, k); in random_deviate_generate()
168 mpz_mul_2exp (x->f, x->f, W); in random_deviate_generate()
360 mpz_mul_2exp (t, t, W); /* Shift to allow for high fraction */ in mpfr_random_deviate_value()
366 mpz_mul_2exp (t, t, x->e - W); /* Shift to allow for low fraction */ in mpfr_random_deviate_value()
H A Dexp3.c98 mpz_mul_2exp (S[k-1], S[k-1], r << l); in mpfr_exp_rational()
124 mpz_mul_2exp (S[k-1], S[k-1], r * h); in mpfr_exp_rational()
137 mpz_mul_2exp (S[0], S[0], -diff); in mpfr_exp_rational()
145 mpz_mul_2exp (Q[0], Q[0], -diff); in mpfr_exp_rational()
H A Dsin_cos.c330 mpz_mul_2exp (T[0], T[0], r); in sin_bs_aux()
366 mpz_mul_2exp (T[k], Q[k], r); in sin_bs_aux()
384 mpz_mul_2exp (T[k-1], T[k-1], r << l); in sin_bs_aux()
407 mpz_mul_2exp (T[k-1], T[k-1], r * h); in sin_bs_aux()
456 mpz_mul_2exp (C0, C0, 2 * m); in sin_bs_aux()
507 mpz_mul_2exp (C2, C2, l2); in sincos_aux()
H A Dzeta_ui.c126 mpz_mul_2exp (t, t, 2 * n - 1); /* t[n] */ in mpfr_zeta_ui()
215 mpz_mul_2exp (s, s, p); in mpfr_zeta_ui()
H A Dexp_2.c65 mpz_mul_2exp (rop, z, expz - target); in mpz_normalize2()
291 mpz_mul_2exp (s, s, q-1); in mpfr_exp2_aux()
391 mpz_mul_2exp (R[0], R[0], q-1); in mpfr_exp2_aux2()
H A Dbernoulli.c99 mpz_mul_2exp (u, u, prec); /* u = 2^prec */ in mpfr_bernoulli_internal()
134 mpz_mul_2exp (s, s, 1); in mpfr_bernoulli_internal()
H A Dpow_uj.c55 mpz_mul_2exp (z, z, ULONG_BITS); in mpfr_mpz_set_uj()
/netbsd/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-cmp_d.c128 mpz_mul_2exp (x, x, 1); in check_onebits()
171 mpz_mul_2exp (x, x, i); in check_low_z_one()
263 mpz_mul_2exp (x, x, 5000L); in check_infinity()
H A Dt-gcd.c85 mpz_mul_2exp (r, s, 1); in gcdext_valid_p()
93 mpz_mul_2exp (r, t, 1); in gcdext_valid_p()
/netbsd/external/lgpl3/mpc/dist/src/
H A Dpow.c230 mpz_mul_2exp (d, d, (unsigned long int) (ed - ec)); in mpc_pow_exact()
236 mpz_mul_2exp (c, c, (unsigned long int) (ec - ed)); in mpc_pow_exact()
275 mpz_mul_2exp (c, c, 1); in mpc_pow_exact()
276 mpz_mul_2exp (d, d, 1); in mpc_pow_exact()
341 mpz_mul_2exp (b, u, 1); in mpc_pow_exact()
389 mpz_mul_2exp (b, u, 1); in mpc_pow_exact()
/netbsd/external/lgpl3/gmp/dist/tests/rand/
H A Dfindlc.c83 mpz_mul_2exp (s, s, 8); in mpz_true_random()
162 mpz_mul_2exp (m, m, m2exp); in main()
/netbsd/external/lgpl3/mpfr/dist/tests/
H A Dtset_z_2exp.c212 mpz_mul_2exp (z, z, e); in check_huge()
226 mpz_mul_2exp (z, z, 0xffffffb0); in check_huge()

12345