summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2003-01-16 16:40:46 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2003-01-16 16:40:46 +0000
commite8e2eed724c7ad202d4536981e3978691a5fa242 (patch)
treec0f975b581e15c38c36c9e10e571d045ccebe8b7 /tests
parente1ad71224719defe6acce5132269f29830111984 (diff)
downloadmpfr-e8e2eed724c7ad202d4536981e3978691a5fa242.tar.gz
patch for compiler bug on hppa2.0w-hp-hpux11.11
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2185 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tadd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tadd.c b/tests/tadd.c
index a1b094726..24a941d24 100644
--- a/tests/tadd.c
+++ b/tests/tadd.c
@@ -720,8 +720,9 @@ main (int argc, char *argv[])
4.747530291205672325e-51);
check53(277363943109.0, 11.0, GMP_RNDN, 277363943120.0);
/* test denormalized numbers too */
- check53(8.06294740693074521573e-310, 6.95250701071929654575e-310, GMP_RNDU,
- 1.5015454417650041761e-309);
+ x = 70360154255223.0; for (i=0; i<1073; i++) x = x / 2.0;
+ check53(8.06294740693074521573e-310, x, GMP_RNDU,
+ 1.5015454417650041761e-309);
#ifdef HAVE_INFS
/* the following check double overflow */
check53(6.27557402141211962228e+307, 1.32141396570101687757e+308,