diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-12 16:13:49 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-12 16:13:49 +0000 |
commit | 573b63b71ddcfbc2836ee1f37c6fc0bc3accbd0a (patch) | |
tree | e94044c2aa8d50e582713343cc6dc9a1d35112cc /tests/terf.c | |
parent | e976dd7979c00f2fc9fc448d151fa74febe3223f (diff) | |
download | mpfr-573b63b71ddcfbc2836ee1f37c6fc0bc3accbd0a.tar.gz |
Replaced misc random functions by GMP ones.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2329 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/terf.c')
-rw-r--r-- | tests/terf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/terf.c b/tests/terf.c index f51ab117b..2f5fdbaa6 100644 --- a/tests/terf.c +++ b/tests/terf.c @@ -51,8 +51,8 @@ test_generic (void) for (n=0; n<N; n++) { mpfr_random (x); - mpfr_mul_2exp (x, x, random () % 4, GMP_RNDN); - rnd = random () % 4; + mpfr_mul_2exp (x, x, randlimb () % 4, GMP_RNDN); + rnd = randlimb () % 4; mpfr_set_prec (y, yprec); mpfr_erf (y, x, rnd); err = (rnd == GMP_RNDN) ? yprec + 1 : yprec; |