Home
last modified time | relevance | path

Searched refs:BITS_TO_LIMBS (Results 1 – 11 of 11) sorted by relevance

/netbsd/external/lgpl3/gmp/dist/rand/
H A Drandlc2x.c100 tn = BITS_TO_LIMBS (m2exp); in lc()
166 tn = BITS_TO_LIMBS (chunk_nbits); in randget_lc()
203 tn = BITS_TO_LIMBS (last_nbits); in randget_lc()
235 mp_size_t seedn = BITS_TO_LIMBS (p->_mp_m2exp); in randseed_lc()
299 mp_size_t seedn = BITS_TO_LIMBS (m2exp); in gmp_randinit_lc_2exp()
/netbsd/external/lgpl3/gmp/dist/mpz/
H A Drrandomb.c43 nl = BITS_TO_LIMBS (nbits); in mpz_rrandomb()
71 i = BITS_TO_LIMBS (nbits) - 1; in gmp_rrandomb()
H A Durandomb.c41 size = BITS_TO_LIMBS (nbits); in mpz_urandomb()
H A Dinp_raw.c95 abs_xsize = BITS_TO_LIMBS ((mp_bitcnt_t) abs_csize * 8); in mpz_inp_raw()
H A Dimport.c59 zsize = BITS_TO_LIMBS (count * (8*size - nail)); in mpz_import()
/netbsd/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-get_d.c83 nsize = BITS_TO_LIMBS (bit+1); in check_onebit()
136 np = refmpn_malloc_limbs (BITS_TO_LIMBS (mant_bits)); in check_twobit()
140 nsize = BITS_TO_LIMBS (i+1); in check_twobit()
422 nalloc = BITS_TO_LIMBS (mant_bits); in check_rand()
H A Dt-fib2m.c198 kn = BITS_TO_LIMBS (exp2); in test_fib2m_2exp()
/netbsd/external/lgpl3/gmp/dist/mpf/
H A Durandomb.c45 nlimbs = BITS_TO_LIMBS (nbits); in mpf_urandomb()
/netbsd/external/lgpl3/gmp/dist/mpn/generic/
H A Drandom2.c74 i = BITS_TO_LIMBS (nbits) - 1; in gmp_rrandomb()
/netbsd/external/lgpl3/gmp/dist/
H A Dgmp-impl.h2989 #define BITS_TO_LIMBS(n) (((n) + (GMP_NUMB_BITS - 1)) / GMP_NUMB_BITS) macro
H A DChangeLog5009 * mpz/import.c: Use BITS_TO_LIMBS and MPZ_NEWALLOC.
19770 * mpf/urandomb.c: Use BITS_TO_LIMBS.
19783 * gmp-impl.h (BITS_TO_LIMBS): New macro.