diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-09-18 16:33:16 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-09-18 16:33:16 +0000 |
commit | 887678b6cee0e89e40df2b3c3a1cb8e0713292fd (patch) | |
tree | 4fda1c8c4d3e2743d3f3ff10161706077d1d7646 /tests/tset_f.c | |
parent | 0f0fceda1553e7fd6729db25f910666873bc76a0 (diff) | |
download | mpfr-887678b6cee0e89e40df2b3c3a1cb8e0713292fd.tar.gz |
Remove obsolete mpfr_random function and replace it by mpfr_urandomb in tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5640 280ebfd0-de03-0410-8827-d642c229c3f4
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); |