diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-07-20 16:11:15 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-07-20 16:11:15 +0000 |
commit | bd51be6f206ac602e8e2682b72b05a02416f2eb0 (patch) | |
tree | ac6ccf8a4cb0217e5ee20fe07aea381da020fdf2 /tests/tsqrt.c | |
parent | 4e7a9de434990ad6cb497ab843787fcbea382f46 (diff) | |
download | mpfr-bd51be6f206ac602e8e2682b72b05a02416f2eb0.tar.gz |
Added code to check mpfr against Gonnet's tables when the environment variable
MPFR_CHECK_ALL is defined (some table entries were checked by MuPAD)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4688 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt.c')
-rw-r--r-- | tests/tsqrt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c index 12e47f02b..8f559773b 100644 --- a/tests/tsqrt.c +++ b/tests/tsqrt.c @@ -672,6 +672,9 @@ main (void) check4 ("72154663483843080704304789585920.0", GMP_RNDD, "1.e2d9a51977e6d@13"); + if (getenv ("MPFR_CHECK_ALL") != NULL) + data_check ("data/sqrt", mpfr_sqrt, "mpfr_sqrt"); + tests_end_mpfr (); return 0; } |