Home
last modified time | relevance | path

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

12

/dragonfly/contrib/gmp/
H A Dgen-trialdivtab.c84 mpz_mul_2exp (gmp_numb_max, gmp_numb_max, limb_bits); in main()
90 mpz_init_set_ui (B, 1); mpz_mul_2exp (B, B, limb_bits); in main()
91 mpz_init_set_ui (Bhalf, 1); mpz_mul_2exp (Bhalf, Bhalf, limb_bits - 1); in main()
243 mpz_mul_2exp (t, t, limb_bits - cnt); in mpn_mod_1s_4p_cps()
245 mpz_mul_2exp (t, t, limb_bits); in mpn_mod_1s_4p_cps()
249 mpz_mul_2exp (t, t, limb_bits); /* t = B */ in mpn_mod_1s_4p_cps()
252 mpz_mul_2exp (t, B1modb, limb_bits); in mpn_mod_1s_4p_cps()
255 mpz_mul_2exp (t, B2modb, limb_bits); in mpn_mod_1s_4p_cps()
258 mpz_mul_2exp (t, B3modb, limb_bits); in mpn_mod_1s_4p_cps()
261 mpz_mul_2exp (t, B4modb, limb_bits); in mpn_mod_1s_4p_cps()
H A Dgen-fac_ui.c83 mpz_mul_2exp (x, x, limb + 1); /* x=2^(limb+1) */ in gen_consts()
102 mpz_mul_2exp (x, x, numb); in gen_consts()
108 mpz_mul_2exp (y, y, numb); in gen_consts()
H A Dgen-bases.c51 mpz_mul_2exp (t, t, numb_bits); in generate()
69 mpz_mul_2exp (t, t, 2*limb_bits - normalization_steps); in generate()
72 mpz_mul_2exp (t, t, limb_bits); in generate()
H A Ddumbmp.c520 mpz_mul_2exp (mpz_t r, mpz_t a, unsigned long int bcnt) in mpz_mul_2exp() function
667 mpz_mul_2exp (tmpb, tmpb, cnt); in mpz_tdiv_qr()
671 mpz_mul_2exp (q, q, 1); in mpz_tdiv_qr()
737 mpz_mul_2exp (t, t, 2*numb_bits - norm); in mpz_preinv_invert()
740 mpz_mul_2exp (t, t, numb_bits); in mpz_preinv_invert()
H A Dgen-fib.c33 mpz_mul_2exp (limit, limit, numb_bits); in generate()
/dragonfly/contrib/mpfr/src/
H A Drem1.c112 mpz_mul_2exp (my, my, ey - ex); /* divide mx by my*2^(ey-ex) */ in mpfr_rem1()
135 mpz_mul_2exp (my, my, WANTED_BITS); /* 2^WANTED_BITS*Y */ in mpfr_rem1()
143 mpz_mul_2exp (my, my, 1); /* 2Y */ in mpfr_rem1()
183 mpz_mul_2exp (r, r, 1); in mpfr_rem1()
H A Datan.c100 mpz_mul_2exp (S[k], Q[k+1], r); in mpfr_atan_aux()
112 mpz_mul_2exp (S[k-1], S[k-1], r << l); in mpfr_atan_aux()
133 mpz_mul_2exp (S[k], Q[k+1], r); in mpfr_atan_aux()
142 mpz_mul_2exp (S[k-1], S[k-1], r << l); in mpfr_atan_aux()
162 mpz_mul_2exp (S[k-1], S[k-1], r * l); in mpfr_atan_aux()
174 mpz_mul_2exp (S[0], S[0], -diff); in mpfr_atan_aux()
182 mpz_mul_2exp (Q[0], Q[0], -diff); in mpfr_atan_aux()
H A Dgrandom.c105 mpz_mul_2exp (xp, xp, 32); in mpfr_grandom()
106 mpz_mul_2exp (yp, yp, 32); in mpfr_grandom()
164 mpz_mul_2exp (xp, xp, 32); in mpfr_grandom()
165 mpz_mul_2exp (yp, yp, 32); in mpfr_grandom()
H A Dexp3.c96 mpz_mul_2exp (S[k-1], S[k-1], r << l); in mpfr_exp_rational()
122 mpz_mul_2exp (S[k-1], S[k-1], r * l); in mpfr_exp_rational()
135 mpz_mul_2exp (S[0], S[0], -diff); in mpfr_exp_rational()
143 mpz_mul_2exp (Q[0], Q[0], -diff); in mpfr_exp_rational()
H A Dcbrt.c103 mpz_mul_2exp (m, m, sh); in mpfr_cbrt()
108 mpz_mul_2exp (m, m, r); in mpfr_cbrt()
H A Dsin_cos.c324 mpz_mul_2exp (T[0], T[0], r); in sin_bs_aux()
354 mpz_mul_2exp (T[k], Q[k], r); in sin_bs_aux()
369 mpz_mul_2exp (T[k-1], T[k-1], r << l); in sin_bs_aux()
393 mpz_mul_2exp (T[k-1], T[k-1], r * l); in sin_bs_aux()
442 mpz_mul_2exp (C0, C0, 2 * l); in sin_bs_aux()
493 mpz_mul_2exp (C2, C2, l2); in sincos_aux()
H A Droot.c155 mpz_mul_2exp (m, m, sh); in mpfr_root()
160 mpz_mul_2exp (m, m, r); in mpfr_root()
H A Dconst_log2.c65 mpz_mul_2exp (Q[0], Q[0], 1); in S()
67 mpz_mul_2exp (Q[0], Q[0], 2); in S()
H A Dzeta_ui.c119 mpz_mul_2exp (t, t, 2 * n - 1); /* t[n] */ in mpfr_zeta_ui()
208 mpz_mul_2exp (s, s, p); in mpfr_zeta_ui()
H A Dexp_2.c67 mpz_mul_2exp (rop, z, expz - target); in mpz_normalize2()
270 mpz_mul_2exp(s, s, q-1); in mpfr_exp2_aux()
356 mpz_mul_2exp (R[0], R[0], q-1); in mpfr_exp2_aux2()
H A Dget_z.c55 mpz_mul_2exp (z, z, exp); in mpfr_get_z()
H A Deint.c76 mpz_mul_2exp (t, t, w); in mpfr_eint_aux()
96 mpz_mul_2exp (t, t, e); in mpfr_eint_aux()
H A Dconst_catalan.c52 mpz_mul_2exp (Q, Q, 1); in S()
H A Dconst_euler.c187 mpz_mul_2exp (a, a, m); in mpfr_const_euler_R()
H A Dcos.c81 mpz_mul_2exp (s, s, p + q); /* scale all values by 2^(p+q) */ in mpfr_cos2_aux()
/dragonfly/contrib/mpc/src/
H A Dpow.c229 mpz_mul_2exp (d, d, (unsigned long int) (ed - ec)); in mpc_pow_exact()
235 mpz_mul_2exp (c, c, (unsigned long int) (ec - ed)); in mpc_pow_exact()
274 mpz_mul_2exp (c, c, 1); in mpc_pow_exact()
275 mpz_mul_2exp (d, d, 1); in mpc_pow_exact()
340 mpz_mul_2exp (b, u, 1); in mpc_pow_exact()
388 mpz_mul_2exp (b, u, 1); in mpc_pow_exact()
H A Dsqr.c79 mpz_mul_2exp (eu, eu, 1); in mpfr_fsss()
81 mpz_mul_2exp (ev, ev, 1); in mpfr_fsss()
/dragonfly/contrib/gmp/mpz/
H A Dfac_ui.c160 mpz_mul_2exp (x, x, n / 2); in mpz_fac_ui()
186 mpz_mul_2exp (x, x, n / 2 + n / 4); in mpz_fac_ui()
236 mpz_mul_2exp (x, x, n - i); in mpz_fac_ui()
H A Dmul_2exp.c24 mpz_mul_2exp (mpz_ptr w, mpz_srcptr u, mp_bitcnt_t cnt) in mpz_mul_2exp() function
/dragonfly/contrib/gmp/mpq/
H A Dmd_2exp.c77 mpz_mul_2exp (ldst, lsrc, n); in mord_2exp()

12