Lines Matching refs:nbits
1 /* mpfr_urandomb (rop, state, nbits) -- Generate a uniform pseudorandom
30 /* generate nbits random bits into mp[], assuming mp was allocated to contain
34 mpfr_prec_t nbits)
38 MPFR_ASSERTN (nbits >= 1);
42 MPFR_ASSERTN ((mp_bitcnt_t) -1 < 0 || nbits <= (mp_bitcnt_t) -1);
44 mpz_urandomb (z, rstate, nbits);
45 MPN_COPY(mp, PTR(z), MPFR_PREC2LIMBS (nbits));
53 mpfr_prec_t nbits;
60 nbits = MPFR_PREC (rop);
63 cnt = nlimbs * GMP_NUMB_BITS - nbits;
66 /* generate exactly nbits so that the random generator stays in the same
68 mpfr_rand_raw (rp, rstate, nbits);