diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-15 17:45:46 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-15 17:45:46 +0000 |
commit | 43ed8f24050136500c40e52dac616242c1a0cdd9 (patch) | |
tree | 5fe66b8c8694747b5a95025d21b5298bf54024c2 /tests/tabs.c | |
parent | 315d562789badb481f03b9d81f17d6d83a5ce6db (diff) | |
download | mpfr-43ed8f24050136500c40e52dac616242c1a0cdd9.tar.gz |
replaced 2.2e-307 by DBL_MIN
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1888 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tabs.c')
-rw-r--r-- | tests/tabs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tabs.c b/tests/tabs.c index b586b8365..03e566925 100644 --- a/tests/tabs.c +++ b/tests/tabs.c @@ -21,6 +21,7 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> +#include <float.h> #include "gmp.h" #include "mpfr.h" #include "mpfr-impl.h" @@ -130,7 +131,7 @@ main (int argc, char *argv[]) #ifdef HAVE_DENORMS while (0); #else - while (absd <= 2.2e-307); + while (absd < DBL_MIN); #endif rnd = LONG_RAND() % 4; mpfr_set_d (x, d, 0); |