diff options
author | ryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-08 23:56:47 +0000 |
---|---|---|
committer | ryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-08 23:56:47 +0000 |
commit | 8a6c5d3a53a2ea00254a54d7723667bcdd124727 (patch) | |
tree | 2015507f5fef5760335a3d9a3d2312e28fc8e5a1 /tests/tsqrt.c | |
parent | 91c07038343662429e2ee916dc8b9cd233203562 (diff) | |
download | mpfr-8a6c5d3a53a2ea00254a54d7723667bcdd124727.tar.gz |
Disable "8093416094703476*2^(-1075)" because mips64
SGI cc doesn't seem to like the value (a denorm).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2316 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt.c')
-rw-r--r-- | tests/tsqrt.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c index 444dc8d00..5ae89e7ab 100644 --- a/tests/tsqrt.c +++ b/tests/tsqrt.c @@ -377,11 +377,18 @@ main (void) check4 (a*8010323124937260.0, GMP_RNDD, "1.556abe212b56e@13"); check4 (a*2.0*8010776873384260.0, GMP_RNDD, "1.e2d9a51977e6d@13"); + /* This test is disabled because it fails on mips64-sgi-irix6.5 with SGI + cc in n32 mode. Looks like "a" is truncated to zero rather than + becoming a denorm. FIXME: This test could be reinstated, but only if + done purely with mpfr operations. We're not interested in exploring + the dark corners of hardware floats. */ +#if 0 /* 8093416094703476*2^(-1075) -> 8538091790120431*2^(-564) */ a = 8093416094703476.0; for (k = 0; k < 1075; k++) a = a / 2.0; check4 (a, GMP_RNDN, "1e55596835b5ef@-141"); +#endif tests_end_mpfr (); return 0; |