summaryrefslogtreecommitdiff
path: root/tests/tpow3.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2008-09-18 16:33:16 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2008-09-18 16:33:16 +0000
commit887678b6cee0e89e40df2b3c3a1cb8e0713292fd (patch)
tree4fda1c8c4d3e2743d3f3ff10161706077d1d7646 /tests/tpow3.c
parent0f0fceda1553e7fd6729db25f910666873bc76a0 (diff)
downloadmpfr-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/tpow3.c')
-rw-r--r--tests/tpow3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tpow3.c b/tests/tpow3.c
index 642f5eb23..9de33cb1f 100644
--- a/tests/tpow3.c
+++ b/tests/tpow3.c
@@ -61,8 +61,8 @@ main (int argc, char *argv[])
for (n=0; n<N; n++)
{
- mpfr_random (x);
- mpfr_random (s);
+ mpfr_urandomb (x, RANDS);
+ mpfr_urandomb (s, RANDS);
if (randlimb () % 2)
mpfr_neg (s, s, GMP_RNDN);
rnd = RND_RAND ();