diff options
Diffstat (limited to 'src/urandomb.c')
-rw-r--r-- | src/urandomb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/urandomb.c b/src/urandomb.c index 6242c09c0..b1f1c9488 100644 --- a/src/urandomb.c +++ b/src/urandomb.c @@ -36,12 +36,10 @@ mpfr_rand_raw (mpfr_limb_ptr mp, gmp_randstate_t rstate, mpz_t z; MPFR_ASSERTN (nbits >= 1); -#if __MPFR_GMP(5,0,0) /* Check for integer overflow (unless mp_bitcnt_t is signed, but according to the GMP manual, this shouldn't happen). Note: mp_bitcnt_t has been introduced in GMP 5.0.0. */ MPFR_ASSERTN ((mp_bitcnt_t) -1 < 0 || nbits <= (mp_bitcnt_t) -1); -#endif mpz_init (z); mpz_urandomb (z, rstate, nbits); MPN_COPY(mp, PTR(z), MPFR_PREC2LIMBS (nbits)); |