Home
last modified time | relevance | path

Searched refs:gmp_urandomb_ui (Results 1 – 25 of 122) sorted by relevance

12345

/dports/math/gmp/gmp-6.2.1/mini-gmp/tests/
H A Dhex-random.c169 abits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_op2()
173 signs = gmp_urandomb_ui (state, 1); in hex_random_op2()
211 signs = gmp_urandomb_ui (state, 3); in hex_random_op3()
296 signs = gmp_urandomb_ui (state, 3); in hex_random_op4()
340 signs = gmp_urandomb_ui (state, 2); in hex_random_op4()
388 signs = gmp_urandomb_ui (state, 1); in hex_random_bit_op()
452 signs = gmp_urandomb_ui (state, 1); in hex_random_scan_op()
488 signs = gmp_urandomb_ui (state, 2); in hex_random_str_op()
511 *Q = gmp_urandomb_ui (state, 14) + 1; in hex_random_lucm_op()
528 if (*Q == 1 || gmp_urandomb_ui (state, 1)) in hex_random_lucm_op()
[all …]
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/gmp-6.2.1-c/mini-gmp/tests/
H A Dhex-random.c169 abits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_op2()
173 signs = gmp_urandomb_ui (state, 1); in hex_random_op2()
211 signs = gmp_urandomb_ui (state, 3); in hex_random_op3()
296 signs = gmp_urandomb_ui (state, 3); in hex_random_op4()
340 signs = gmp_urandomb_ui (state, 2); in hex_random_op4()
388 signs = gmp_urandomb_ui (state, 1); in hex_random_bit_op()
452 signs = gmp_urandomb_ui (state, 1); in hex_random_scan_op()
488 signs = gmp_urandomb_ui (state, 2); in hex_random_str_op()
511 *Q = gmp_urandomb_ui (state, 14) + 1; in hex_random_lucm_op()
528 if (*Q == 1 || gmp_urandomb_ui (state, 1)) in hex_random_lucm_op()
[all …]
/dports/math/mingw32-libgmp/gmp-6.0.0/mini-gmp/tests/
H A Dhex-random.c107 abits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_op2()
111 signs = gmp_urandomb_ui (state, 1); in hex_random_op2()
143 abits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_op3()
144 bbits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_op3()
149 signs = gmp_urandomb_ui (state, 3); in hex_random_op3()
234 signs = gmp_urandomb_ui (state, 3); in hex_random_op4()
278 signs = gmp_urandomb_ui (state, 2); in hex_random_op4()
321 abits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_bit_op()
326 signs = gmp_urandomb_ui (state, 1); in hex_random_bit_op()
390 signs = gmp_urandomb_ui (state, 1); in hex_random_scan_op()
[all …]
/dports/math/gap/gap-4.11.0/extern/gmp/mini-gmp/tests/
H A Dhex-random.c156 abits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_op2()
160 signs = gmp_urandomb_ui (state, 1); in hex_random_op2()
192 abits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_op3()
193 bbits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_op3()
198 signs = gmp_urandomb_ui (state, 3); in hex_random_op3()
283 signs = gmp_urandomb_ui (state, 3); in hex_random_op4()
327 signs = gmp_urandomb_ui (state, 2); in hex_random_op4()
370 abits = gmp_urandomb_ui (state, 32) % maxbits; in hex_random_bit_op()
375 signs = gmp_urandomb_ui (state, 1); in hex_random_bit_op()
439 signs = gmp_urandomb_ui (state, 1); in hex_random_scan_op()
[all …]
/dports/math/mpc/mpc-1.2.1/tests/
H A Drandom.c134 r = gmp_urandomb_ui (rands, 19); in test_default_random()
160 r = gmp_urandomb_ui (rands, 16); in test_default_random()
186 *n = gmp_urandomb_ui (rands, emax); in test_random_si()
191 r = gmp_urandomb_ui (rands, 8); in test_random_si()
223 r = gmp_urandomb_ui (rands, 8); in test_random_mpfr()
271 r = gmp_urandomb_ui (rands, 16); in test_random_mpc()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpc-1.2.1-c/tests/
H A Drandom.c134 r = gmp_urandomb_ui (rands, 19); in test_default_random()
160 r = gmp_urandomb_ui (rands, 16); in test_default_random()
186 *n = gmp_urandomb_ui (rands, emax); in test_random_si()
191 r = gmp_urandomb_ui (rands, 8); in test_random_si()
223 r = gmp_urandomb_ui (rands, 8); in test_random_mpfr()
271 r = gmp_urandomb_ui (rands, 16); in test_random_mpc()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/tests/
H A Dtrandom_deviate.c136 n = gmp_urandomb_ui (RANDS, 4); in test_value_consistency()
137 neg = gmp_urandomb_ui (RANDS, 1); in test_value_consistency()
178 n = gmp_urandomb_ui (RANDS, 4); in test_value_round()
179 neg = gmp_urandomb_ui (RANDS, 1); in test_value_round()
246 n = gmp_urandomb_ui (RANDS, b); in test_value()
247 neg = gmp_urandomb_ui (RANDS, 1); in test_value()
258 f = gmp_urandomb_ui (RANDS, b); in test_value()
261 neg = gmp_urandomb_ui (RANDS, 1); in test_value()
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/tests/utils/
H A Dtest_relation.cpp51 unsigned int exp = gmp_urandomb_ui(state, 5); in test_compute_r()
58 mpz_set_ui (tp, gmp_urandomb_ui(state, 31)); in test_compute_r()
69 b = gmp_urandomb_ui(state, 31) * p; in test_compute_r()
109 mpz_set_ui (tp, gmp_urandomb_ui(state, 31)); in test_compute_all_r()
115 mpz_set_ui (tp, gmp_urandomb_ui(state, 31)); in test_compute_all_r()
H A Dtest_modul_poly.c70 q = gmp_urandomb_ui(state, 31); in test_modul_poly_is_irreducible()
76 modul_set_ul (f->coeff[i], gmp_urandomb_ui(state, 31), p); in test_modul_poly_is_irreducible()
78 modul_set_ul (f->coeff[d], gmp_urandomb_ui(state, 31), p); in test_modul_poly_is_irreducible()
143 modul_initmod_ul (p, ulong_nextprime (gmp_urandomb_ui(state, 31))); in test_modul_poly_roots_ulong()
/dports/math/gmp/gmp-6.2.1/tests/mpf/
H A Dt-div.c65 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
74 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
127 if (gmp_urandomb_ui (rands, 1L)) in check_reuse_three()
H A Dt-ui_div.c74 u = gmp_urandomb_ui (rands, prec); in check_rand()
86 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
H A Dt-mul_ui.c88 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
93 v = gmp_urandomb_ui (rands, prec); in check_rand()
/dports/math/gap/gap-4.11.0/extern/gmp/tests/mpf/
H A Dt-div.c66 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
75 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
128 if (gmp_urandomb_ui (rands, 1L)) in check_reuse_three()
H A Dt-ui_div.c75 u = gmp_urandomb_ui (rands, prec); in check_rand()
87 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
H A Dt-mul_ui.c89 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
94 v = gmp_urandomb_ui (rands, prec); in check_rand()
/dports/math/mpir/mpir-3.0.0/tests/mpf/
H A Dt-div.c68 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
77 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
130 if (gmp_urandomb_ui (rands, 1L)) in check_reuse_three()
H A Dt-ui_div.c78 u = gmp_urandomb_ui (rands, prec); in check_rand()
90 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
H A Dt-mul_ui.c91 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
96 v = gmp_urandomb_ui (rands, prec); in check_rand()
/dports/math/mingw32-libgmp/gmp-6.0.0/tests/mpf/
H A Dt-div.c66 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
75 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
128 if (gmp_urandomb_ui (rands, 1L)) in check_reuse_three()
H A Dt-ui_div.c75 u = gmp_urandomb_ui (rands, prec); in check_rand()
87 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
H A Dt-mul_ui.c89 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
94 v = gmp_urandomb_ui (rands, prec); in check_rand()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/gmp-6.2.1-c/tests/mpf/
H A Dt-div.c65 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
74 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
127 if (gmp_urandomb_ui (rands, 1L)) in check_reuse_three()
H A Dt-ui_div.c74 u = gmp_urandomb_ui (rands, prec); in check_rand()
86 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
H A Dt-mul_ui.c88 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
93 v = gmp_urandomb_ui (rands, prec); in check_rand()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/src/
H A Dmpfr-mini-gmp.h99 #ifndef gmp_urandomb_ui
101 unsigned long gmp_urandomb_ui (gmp_randstate_t state, unsigned long n);

12345