diff options
Diffstat (limited to 'tests/tset_f.c')
-rw-r--r-- | tests/tset_f.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tset_f.c b/tests/tset_f.c index e4ddc21db..903c5ab95 100644 --- a/tests/tset_f.c +++ b/tests/tset_f.c @@ -150,7 +150,7 @@ main (void) mpf_set_ui (y, 1); for (r = 0; r < mp_bits_per_limb; r++) { - mpfr_random (x); /* to fill low limbs with random data */ + mpfr_urandomb (x, RANDS); /* to fill low limbs with random data */ inexact = mpfr_set_f (x, y, GMP_RNDN); MPFR_ASSERTN(inexact == 0 && mpfr_cmp_ui_2exp (x, 1, r) == 0); mpf_mul_2exp (y, y, 1); |