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/tui_sub.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/tui_sub.c')
-rw-r--r-- | tests/tui_sub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tui_sub.c b/tests/tui_sub.c index e6e273427..0aaaeeb08 100644 --- a/tests/tui_sub.c +++ b/tests/tui_sub.c @@ -122,7 +122,7 @@ special (void) mpfr_set_prec (x, 10); mpfr_set_prec (y, 10); - mpfr_random (x); + mpfr_urandomb (x, RANDS); mpfr_ui_sub (y, 0, x, GMP_RNDN); if (MPFR_IS_ZERO(x)) MPFR_ASSERTN(MPFR_IS_ZERO(y)); @@ -175,7 +175,7 @@ check_two_sum (mp_prec_t p) x = randlimb (); } while (x < 1); - mpfr_random (y); + mpfr_urandomb (y, RANDS); rnd = GMP_RNDN; inexact = mpfr_ui_sub (u, x, y, rnd); mpfr_sub_ui (v, u, x, rnd); |