summaryrefslogtreecommitdiff
path: root/tests/texp.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-09-28 10:11:04 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-09-28 10:11:04 +0000
commit75f9718dc758cc7f4217341ee16a042ea7edd27f (patch)
tree0417e48a2ef2cbd9f4c4f5375ad3182132a3e79d /tests/texp.c
parentca514523f24eea0eb56cea72222d7df7155175cd (diff)
downloadmpfr-75f9718dc758cc7f4217341ee16a042ea7edd27f.tar.gz
does not call compare_exp2_exp3 when argc=4
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1210 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/texp.c')
-rw-r--r--tests/texp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/texp.c b/tests/texp.c
index 128889090..28dabb75c 100644
--- a/tests/texp.c
+++ b/tests/texp.c
@@ -196,10 +196,14 @@ main (int argc, char *argv[])
int i, N, s=0, e, maxe=0; double d, lo, hi;
#endif
+ if (argc == 4)
+ {
+ check_large (atof(argv[1]), atoi(argv[2]), atoi(argv[3]));
+ exit(1);
+ }
+
srand(getpid());
compare_exp2_exp3(1000);
- if (argc==4) { check_large(atof(argv[1]), atoi(argv[2]), atoi(argv[3]));
- exit(1); }
check_worst_cases();
check3(0.0, GMP_RNDU, 1.0);
check3(-8.88024741073346941839e-17, GMP_RNDU, 1.0);