Searched refs:gmp_urandomb_ui (Results 1 - 25 of 48) sorted by relevance

12

/netbsd-current/external/lgpl3/gmp/dist/demos/perl/GMP/
H A DRand.pm40 mpz_urandomb mpz_urandomm gmp_urandomb_ui
/netbsd-current/external/lgpl3/gmp/dist/rand/
H A Drandbui.c0 /* gmp_urandomb_ui -- random bits returned in a ulong.
38 gmp_urandomb_ui (gmp_randstate_ptr rstate, unsigned long bits) function
/netbsd-current/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dhex-random.c169 abits = gmp_urandomb_ui (state, 32) % maxbits;
173 signs = gmp_urandomb_ui (state, 1);
205 abits = gmp_urandomb_ui (state, 32) % maxbits;
206 bbits = gmp_urandomb_ui (state, 32) % maxbits;
211 signs = gmp_urandomb_ui (state, 3);
234 unsigned long gbits = gmp_urandomb_ui (state, 32) % maxbits;
245 unsigned long gbits = gmp_urandomb_ui (state, 32) % maxbits;
288 abits = gmp_urandomb_ui (state, 32) % maxbits;
289 bbits = 1 + gmp_urandomb_ui (state, 32) % maxbits;
290 cbits = 2 + gmp_urandomb_ui (stat
[all...]
/netbsd-current/external/lgpl3/mpc/dist/tests/
H A Drandom.c134 r = gmp_urandomb_ui (rands, 19);
160 r = gmp_urandomb_ui (rands, 16);
186 *n = gmp_urandomb_ui (rands, emax);
191 r = gmp_urandomb_ui (rands, 8);
223 r = gmp_urandomb_ui (rands, 8);
271 r = gmp_urandomb_ui (rands, 16);
H A Dtpow_si.c42 n = (signed long) gmp_urandomb_ui (rands, nbits);
H A Dtpow_ui.c41 n = gmp_urandomb_ui (rands, nbits); /* 0 <= n < 2^nbits */
/netbsd-current/external/lgpl3/gmp/dist/tests/rand/
H A Dt-urbui.c1 /* Test gmp_urandomb_ui.
41 got = gmp_urandomb_ui (rstate, bits);
/netbsd-current/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 Dnrandom.c42 * the sign to the deviate using gmp_urandomb_ui. Finally, the C++
185 inex = mpfr_random_deviate_value (gmp_urandomb_ui (r, 1), k, x, z, r, rnd);
H A Drandom_deviate.c139 x->h = gmp_urandomb_ui (r, W); /* Generate the high fraction */
160 /* no mpz_t so compute the bits W at a time via gmp_urandomb_ui */
163 unsigned long w = gmp_urandomb_ui (r, W);
H A Dmpfr-mini-gmp.c153 gmp_urandomb_ui (gmp_randstate_t state, unsigned long n) function
/netbsd-current/external/lgpl3/mpfr/dist/tests/
H A Dtrandom_deviate.c136 n = gmp_urandomb_ui (RANDS, 4);
137 neg = gmp_urandomb_ui (RANDS, 1);
178 n = gmp_urandomb_ui (RANDS, 4);
179 neg = gmp_urandomb_ui (RANDS, 1);
246 n = gmp_urandomb_ui (RANDS, b);
247 neg = gmp_urandomb_ui (RANDS, 1);
258 f = gmp_urandomb_ui (RANDS, b);
261 neg = gmp_urandomb_ui (RANDS, 1);
/netbsd-current/external/lgpl3/gmp/dist/tests/mpf/
H A Dt-div.c65 if (gmp_urandomb_ui (rands, 1L))
74 if (gmp_urandomb_ui (rands, 1L))
127 if (gmp_urandomb_ui (rands, 1L))
H A Dt-ui_div.c74 u = gmp_urandomb_ui (rands, prec);
86 if (gmp_urandomb_ui (rands, 1L))
H A Dt-mul_ui.c88 if (gmp_urandomb_ui (rands, 1L))
93 v = gmp_urandomb_ui (rands, prec);
H A Dt-sqrt_ui.c58 x = gmp_urandomb_ui (rands,
H A Dt-set_q.c73 if (gmp_urandomb_ui (rands, 1L))
/netbsd-current/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-get_d.c443 sign = (mp_size_t) gmp_urandomb_ui (rands, 1L) - 1;
/netbsd-current/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-current/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-current/external/lgpl3/gmp/lib/libgmp/arch/sh3el/
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-current/external/lgpl3/gmp/lib/libgmp/arch/sh3eb/
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-current/external/lgpl3/gmp/lib/libgmp/arch/sparc/
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-current/external/lgpl3/gmp/lib/libgmp/arch/riscv32/
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-current/external/lgpl3/gmp/lib/libgmp/arch/riscv64/
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);

Completed in 191 milliseconds

12