Home
last modified time | relevance | path

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

12345678910>>...30

/dports/math/gap/gap-4.11.0/extern/gmp/
H A Dgen-trialdivtab.c95 mpz_mul_2exp (gmp_numb_max, gmp_numb_max, limb_bits); in main()
101 mpz_init_set_ui (B, 1); mpz_mul_2exp (B, B, limb_bits); in main()
102 mpz_init_set_ui (Bhalf, 1); mpz_mul_2exp (Bhalf, Bhalf, limb_bits - 1); in main()
245 mpz_mul_2exp (t, t, limb_bits - cnt); in mpn_mod_1s_4p_cps()
247 mpz_mul_2exp (t, t, limb_bits); in mpn_mod_1s_4p_cps()
251 mpz_mul_2exp (t, t, limb_bits); /* t = B */ in mpn_mod_1s_4p_cps()
254 mpz_mul_2exp (t, B1modb, limb_bits); in mpn_mod_1s_4p_cps()
257 mpz_mul_2exp (t, B2modb, limb_bits); in mpn_mod_1s_4p_cps()
260 mpz_mul_2exp (t, B3modb, limb_bits); in mpn_mod_1s_4p_cps()
263 mpz_mul_2exp (t, B4modb, limb_bits); in mpn_mod_1s_4p_cps()
H A Dgen-bases.c59 mpz_mul_2exp (t, t, numb_bits); in generate()
75 mpz_mul_2exp (t, t, 2*limb_bits - normalization_steps); in generate()
78 mpz_mul_2exp (t, t, limb_bits); in generate()
117 mpz_mul_2exp (t, t, prec+EXTRA); in mp_2logb()
122 mpz_mul_2exp (two, two, prec+EXTRA); in mp_2logb()
127 mpz_mul_2exp (b, b, prec+EXTRA); in mp_2logb()
131 mpz_mul_2exp (b, b, prec+EXTRA); in mp_2logb()
180 mpz_mul_2exp (t, t, 2*limb_bits + 5); in table()
/dports/math/mingw32-libgmp/gmp-6.0.0/
H A Dgen-trialdivtab.c95 mpz_mul_2exp (gmp_numb_max, gmp_numb_max, limb_bits); in main()
101 mpz_init_set_ui (B, 1); mpz_mul_2exp (B, B, limb_bits); in main()
102 mpz_init_set_ui (Bhalf, 1); mpz_mul_2exp (Bhalf, Bhalf, limb_bits - 1); in main()
245 mpz_mul_2exp (t, t, limb_bits - cnt); in mpn_mod_1s_4p_cps()
247 mpz_mul_2exp (t, t, limb_bits); in mpn_mod_1s_4p_cps()
251 mpz_mul_2exp (t, t, limb_bits); /* t = B */ in mpn_mod_1s_4p_cps()
254 mpz_mul_2exp (t, B1modb, limb_bits); in mpn_mod_1s_4p_cps()
257 mpz_mul_2exp (t, B2modb, limb_bits); in mpn_mod_1s_4p_cps()
260 mpz_mul_2exp (t, B3modb, limb_bits); in mpn_mod_1s_4p_cps()
263 mpz_mul_2exp (t, B4modb, limb_bits); in mpn_mod_1s_4p_cps()
H A Dgen-bases.c59 mpz_mul_2exp (t, t, numb_bits); in generate()
75 mpz_mul_2exp (t, t, 2*limb_bits - normalization_steps); in generate()
78 mpz_mul_2exp (t, t, limb_bits); in generate()
117 mpz_mul_2exp (t, t, prec+EXTRA); in mp_2logb()
122 mpz_mul_2exp (two, two, prec+EXTRA); in mp_2logb()
127 mpz_mul_2exp (b, b, prec+EXTRA); in mp_2logb()
131 mpz_mul_2exp (b, b, prec+EXTRA); in mp_2logb()
180 mpz_mul_2exp (t, t, 2*limb_bits + 5); in table()
/dports/math/zn_poly/zn_poly-0.9.2/src/
H A Dzn_mod.c40 mpz_mul_2exp (x, x, ULONG_BITS); in zn_mod_init()
45 mpz_mul_2exp (x, x, 2*ULONG_BITS); in zn_mod_init()
52 mpz_mul_2exp (x, x, mod->sh1 + 1); in zn_mod_init()
54 mpz_mul_2exp (x, x, ULONG_BITS); in zn_mod_init()
65 mpz_mul_2exp (x, x, ell); in zn_mod_init()
67 mpz_mul_2exp (x, x, ULONG_BITS); in zn_mod_init()
/dports/security/gnutls/gnutls-3.6.16/lib/nettle/int/
H A Drsa-keygen-fips186.c104 mpz_mul_2exp(r1, r1, 2*bits-1); in rsa_provable_prime()
109 mpz_mul_2exp(r2, r2, bits); in rsa_provable_prime()
119 mpz_mul_2exp(r1, p0, 1); in rsa_provable_prime()
136 mpz_mul_2exp(p, p, 1); in rsa_provable_prime()
142 mpz_mul_2exp(r2, r2, bits); in rsa_provable_prime()
148 mpz_mul_2exp(r1, r1, 1); in rsa_provable_prime()
156 mpz_mul_2exp(r2, p0, 1); in rsa_provable_prime()
197 mpz_mul_2exp(r1, r1, 1); in rsa_provable_prime()
291 mpz_mul_2exp(t, t, 256); in _rsa_generate_fips186_4_keypair()
307 mpz_mul_2exp(r, r, (l) - 100); in _rsa_generate_fips186_4_keypair()
/dports/math/gmp/gmp-6.2.1/
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()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/gmp-6.2.1-c/
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()
/dports/math/e-antic/flint2-ae7ec89/fft/test/
H A Dt-butterfly_sqrt2.c24 mpz_mul_2exp(p, p, n*w); in set_p()
32 mpz_mul_2exp(t, t, i*(w/2) + i/2); in ref_fft_butterfly_sqrt2()
33 mpz_mul_2exp(s, t, 3*limbs*FLINT_BITS/4); in ref_fft_butterfly_sqrt2()
34 mpz_mul_2exp(t, t, limbs*FLINT_BITS/4); in ref_fft_butterfly_sqrt2()
44 mpz_mul_2exp(s, i2, 2*n*w - i*(w/2) - 1 - i/2); in ref_ifft_butterfly_sqrt2()
45 mpz_mul_2exp(t, s, 3*limbs*FLINT_BITS/4); in ref_ifft_butterfly_sqrt2()
46 mpz_mul_2exp(s, s, limbs*FLINT_BITS/4); in ref_ifft_butterfly_sqrt2()
H A Dt-adjust_sqrt2.c25 mpz_mul_2exp(p, p, n*w); in set_p()
31 mpz_mul_2exp(r, i1, (w/2)*i + i/2); in ref_adjust_sqrt2()
34 mpz_mul_2exp(i1, r, 3*limbs*FLINT_BITS/4); in ref_adjust_sqrt2()
35 mpz_mul_2exp(r, r, limbs*FLINT_BITS/4); in ref_adjust_sqrt2()
/dports/math/flint2/flint-2.8.4/fft/test/
H A Dt-butterfly_sqrt2.c24 mpz_mul_2exp(p, p, n*w); in set_p()
32 mpz_mul_2exp(t, t, i*(w/2) + i/2); in ref_fft_butterfly_sqrt2()
33 mpz_mul_2exp(s, t, 3*limbs*FLINT_BITS/4); in ref_fft_butterfly_sqrt2()
34 mpz_mul_2exp(t, t, limbs*FLINT_BITS/4); in ref_fft_butterfly_sqrt2()
44 mpz_mul_2exp(s, i2, 2*n*w - i*(w/2) - 1 - i/2); in ref_ifft_butterfly_sqrt2()
45 mpz_mul_2exp(t, s, 3*limbs*FLINT_BITS/4); in ref_ifft_butterfly_sqrt2()
46 mpz_mul_2exp(s, s, limbs*FLINT_BITS/4); in ref_ifft_butterfly_sqrt2()
H A Dt-adjust_sqrt2.c25 mpz_mul_2exp(p, p, n*w); in set_p()
31 mpz_mul_2exp(r, i1, (w/2)*i + i/2); in ref_adjust_sqrt2()
34 mpz_mul_2exp(i1, r, 3*limbs*FLINT_BITS/4); in ref_adjust_sqrt2()
35 mpz_mul_2exp(r, r, limbs*FLINT_BITS/4); in ref_adjust_sqrt2()
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fft/test/
H A Dt-butterfly_sqrt2.c24 mpz_mul_2exp(p, p, n*w); in set_p()
32 mpz_mul_2exp(t, t, i*(w/2) + i/2); in ref_fft_butterfly_sqrt2()
33 mpz_mul_2exp(s, t, 3*limbs*FLINT_BITS/4); in ref_fft_butterfly_sqrt2()
34 mpz_mul_2exp(t, t, limbs*FLINT_BITS/4); in ref_fft_butterfly_sqrt2()
44 mpz_mul_2exp(s, i2, 2*n*w - i*(w/2) - 1 - i/2); in ref_ifft_butterfly_sqrt2()
45 mpz_mul_2exp(t, s, 3*limbs*FLINT_BITS/4); in ref_ifft_butterfly_sqrt2()
46 mpz_mul_2exp(s, s, limbs*FLINT_BITS/4); in ref_ifft_butterfly_sqrt2()
H A Dt-adjust_sqrt2.c25 mpz_mul_2exp(p, p, n*w); in set_p()
31 mpz_mul_2exp(r, i1, (w/2)*i + i/2); in ref_adjust_sqrt2()
34 mpz_mul_2exp(i1, r, 3*limbs*FLINT_BITS/4); in ref_adjust_sqrt2()
35 mpz_mul_2exp(r, r, limbs*FLINT_BITS/4); in ref_adjust_sqrt2()
/dports/math/mpir/mpir-3.0.0/tests/fft/
H A Dt-butterfly_sqrt2.c41 mpz_mul_2exp(p, p, n*w); in set_p()
49 mpz_mul_2exp(t, t, i*(w/2) + i/2); in ref_fft_butterfly_sqrt2()
50 mpz_mul_2exp(s, t, 3*limbs*GMP_LIMB_BITS/4); in ref_fft_butterfly_sqrt2()
51 mpz_mul_2exp(t, t, limbs*GMP_LIMB_BITS/4); in ref_fft_butterfly_sqrt2()
61 mpz_mul_2exp(s, i2, 2*n*w - i*(w/2) - 1 - i/2); in ref_ifft_butterfly_sqrt2()
62 mpz_mul_2exp(t, s, 3*limbs*GMP_LIMB_BITS/4); in ref_ifft_butterfly_sqrt2()
63 mpz_mul_2exp(s, s, limbs*GMP_LIMB_BITS/4); in ref_ifft_butterfly_sqrt2()
H A Dt-adjust_sqrt2.c41 mpz_mul_2exp(p, p, n*w); in set_p()
47 mpz_mul_2exp(r, i1, (w/2)*i + i/2); in ref_adjust_sqrt2()
50 mpz_mul_2exp(i1, r, 3*limbs*GMP_LIMB_BITS/4); in ref_adjust_sqrt2()
51 mpz_mul_2exp(r, r, limbs*GMP_LIMB_BITS/4); in ref_adjust_sqrt2()
/dports/misc/urbit/urbit-urbit-0.6.0/jets/e/
H A Dfl.c56 mpz_mul_2exp(a_mp, a_mp, 1); in _mp_to_satom()
61 mpz_mul_2exp(a_mp, a_mp, 1); in _mp_to_satom()
147 mpz_mul_2exp(a->a, a->a, c); in _xpd()
194 if ( q > 0 ) mpz_mul_2exp(h, h, q - 1); in u3qef_lug()
255 mpz_mul_2exp(g, c.a, 1); in u3qef_lug()
363 mpz_mul_2exp(r, r, mpz_get_ui(c.e)); in u3qef_drg()
364 mpz_mul_2exp(m, m, mpz_get_ui(c.e)); in u3qef_drg()
377 mpz_mul_2exp(i, r, 1); in u3qef_drg()
379 mpz_mul_2exp(j, s, 1); in u3qef_drg()
393 mpz_mul_2exp(i, r, 1); in u3qef_drg()
[all …]
/dports/math/gmp/gmp-6.2.1/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()
/dports/math/gap/gap-4.11.0/extern/gmp/tests/mpz/
H A Dt-div_2exp.c43 mpz_mul_2exp (d2exp, d2exp, d); in check_one()
59 mpz_mul_2exp (p, q, d); in check_one()
76 mpz_mul_2exp (p, q, d); in check_one()
93 mpz_mul_2exp (p, q, d); in check_one()
173 mpz_mul_2exp (a, a, n); in check_various()
/dports/math/mpir/mpir-3.0.0/tests/mpz/
H A Dt-div_2exp.c45 mpz_mul_2exp (d2exp, d2exp, d); in check_one()
61 mpz_mul_2exp (p, q, d); in check_one()
78 mpz_mul_2exp (p, q, d); in check_one()
95 mpz_mul_2exp (p, q, d); in check_one()
175 mpz_mul_2exp (a, a, n); in check_various()
/dports/math/mingw32-libgmp/gmp-6.0.0/tests/mpz/
H A Dt-div_2exp.c43 mpz_mul_2exp (d2exp, d2exp, d); in check_one()
59 mpz_mul_2exp (p, q, d); in check_one()
76 mpz_mul_2exp (p, q, d); in check_one()
93 mpz_mul_2exp (p, q, d); in check_one()
173 mpz_mul_2exp (a, a, n); in check_various()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/gmp-6.2.1-c/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()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/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()
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/mpn_extras/test/
H A Dt-mod_preinvn.c54 mpz_mul_2exp(d, d, norm); in main()
55 mpz_mul_2exp(a, a, norm); in main()
103 mpz_mul_2exp(d, d, norm); in main()
104 mpz_mul_2exp(a, a, norm); in main()
/dports/math/e-antic/flint2-ae7ec89/mpn_extras/test/
H A Dt-mod_preinvn.c54 mpz_mul_2exp(d, d, norm); in main()
55 mpz_mul_2exp(a, a, norm); in main()
103 mpz_mul_2exp(d, d, norm); in main()
104 mpz_mul_2exp(a, a, norm); in main()

12345678910>>...30