Home
last modified time | relevance | path

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

123

/netbsd/external/lgpl3/gmp/dist/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 …]
/netbsd/external/lgpl3/mpc/dist/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()
H A Dtpow_si.c42 n = (signed long) gmp_urandomb_ui (rands, nbits); in compare_mpc_pow()
H A Dtpow_ui.c41 n = gmp_urandomb_ui (rands, nbits); /* 0 <= n < 2^nbits */ in compare_mpc_pow()
/netbsd/external/lgpl3/mpfr/dist/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()
/netbsd/external/lgpl3/gmp/dist/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()
H A Dt-sqrt_ui.c58 x = gmp_urandomb_ui (rands, in check_rand()
H A Dt-set_q.c73 if (gmp_urandomb_ui (rands, 1L)) in check_rand()
/netbsd/external/lgpl3/mpfr/dist/src/
H A Dmpfr-mini-gmp.h99 #ifndef gmp_urandomb_ui
101 unsigned long gmp_urandomb_ui (gmp_randstate_t state, unsigned long n);
H A Drandom_deviate.c139 x->h = gmp_urandomb_ui (r, W); /* Generate the high fraction */ in random_deviate_generate()
163 unsigned long w = gmp_urandomb_ui (r, W); in random_deviate_generate()
H A Dnrandom.c185 inex = mpfr_random_deviate_value (gmp_urandomb_ui (r, 1), k, x, z, r, rnd); in mpfr_nrandom()
H A Dmpfr-mini-gmp.c153 gmp_urandomb_ui (gmp_randstate_t state, unsigned long n) in gmp_urandomb_ui() function
/netbsd/external/lgpl3/gmp/dist/rand/
H A Drandbui.c38 gmp_urandomb_ui (gmp_randstate_ptr rstate, unsigned long bits) in gmp_urandomb_ui() function
/netbsd/external/lgpl3/gmp/dist/tests/rand/
H A Dt-urbui.c41 got = gmp_urandomb_ui (rstate, bits); in check_one()
/netbsd/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-get_d.c443 sign = (mp_size_t) gmp_urandomb_ui (rands, 1L) - 1; in check_rand()
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/coldfire/
H A Dgmp.h529 #define gmp_urandomb_ui __gmp_urandomb_ui macro
530 __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/or1k/
H A Dgmp.h529 #define gmp_urandomb_ui __gmp_urandomb_ui macro
530 __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/alpha/
H A Dgmp.h524 #define gmp_urandomb_ui __gmp_urandomb_ui macro
525 __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/arm/
H A Dgmp.h524 #define gmp_urandomb_ui __gmp_urandomb_ui macro
525 __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/armeb/
H A Dgmp.h524 #define gmp_urandomb_ui __gmp_urandomb_ui macro
525 __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/hppa/
H A Dgmp.h524 #define gmp_urandomb_ui __gmp_urandomb_ui macro
525 __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/i386/
H A Dgmp.h524 #define gmp_urandomb_ui __gmp_urandomb_ui macro
525 __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/ia64/
H A Dgmp.h524 #define gmp_urandomb_ui __gmp_urandomb_ui macro
525 __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);

123