summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-03-12 17:33:07 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-03-12 17:33:07 +0000
commit92453a3261f40bb48f5fb5317682bb3f9f37314a (patch)
tree3d329a11d8606b5bfae2d437320df002a1a64e54
parenta5f6b01f2a75d6ee86e4379b6529402eddca7fdd (diff)
downloadmpfr-92453a3261f40bb48f5fb5317682bb3f9f37314a.tar.gz
[tests/tsqrt.c] For bad_cases(), use the same pos and psup parameters
as in troot.c for "rootn[2]", allowing inexact cases. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13785 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/tsqrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c
index 9a8ec8728..c4d0a699f 100644
--- a/tests/tsqrt.c
+++ b/tests/tsqrt.c
@@ -1059,7 +1059,7 @@ main (void)
test_generic (MPFR_PREC_MIN, 300, 15);
data_check ("data/sqrt", mpfr_sqrt, "mpfr_sqrt");
- bad_cases (mpfr_sqrt, mpfr_sqr, "mpfr_sqrt", 8, -256, 255, 4, 128, 800, 50);
+ bad_cases (mpfr_sqrt, mpfr_sqr, "mpfr_sqrt", 0, -256, 255, 4, 128, 80, 50);
bug20160120 ();
bug20160908 ();