summaryrefslogtreecommitdiff
path: root/tests/tsqrt.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-12-15 15:26:12 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-12-15 15:26:12 +0000
commite7f4290c09a7dda47f8a8f4bd735f0ed9cee25a6 (patch)
tree6d3d8226356c536ffdae7aa8d73cc64f5f4d30f3 /tests/tsqrt.c
parent5767a680cf6d2b601865e77f328a5dd9cb8a5e6a (diff)
downloadmpfr-e7f4290c09a7dda47f8a8f4bd735f0ed9cee25a6.tar.gz
[tests/tsqrt.c] The latest changes made tsqrt fail in an inexact test
on MPFR_RNDF. Fixed by changing RND_RAND to RND_RAND_NO_RNDF. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11050 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt.c')
-rw-r--r--tests/tsqrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c
index 1963236b0..c19b1a065 100644
--- a/tests/tsqrt.c
+++ b/tests/tsqrt.c
@@ -428,7 +428,7 @@ check_inexact (mpfr_prec_t p)
mpfr_init2 (y, p);
mpfr_init2 (z, 2*p);
mpfr_urandomb (x, RANDS);
- rnd = RND_RAND ();
+ rnd = RND_RAND_NO_RNDF ();
inexact = test_sqrt (y, x, rnd);
if (mpfr_mul (z, y, y, rnd)) /* exact since prec(z) = 2*prec(y) */
{