diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-01-19 19:59:12 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-01-19 19:59:12 +0000 |
commit | 448f4b828857c9bce9268971a4f440fc585b3c09 (patch) | |
tree | f244c4ff1c6aa9717d8eb082cb60348a2d68b232 /tests/tcmp_d.c | |
parent | d61cee62d8ea3676afc6ba79a6f9ab7c40e1e6ae (diff) | |
download | mpfr-448f4b828857c9bce9268971a4f440fc585b3c09.tar.gz |
tcmp_d.c tset_d.c tcmp_ld.c: Remove tests with NaN when MPFR_NANISNAN is defined.
tests.c: Add a warning in a comment that Isnan always returns 0 on systems where MPFR_NANISNAN is defined.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5860 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcmp_d.c')
-rw-r--r-- | tests/tcmp_d.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcmp_d.c b/tests/tcmp_d.c index ae9ac04eb..c09d9b63c 100644 --- a/tests/tcmp_d.c +++ b/tests/tcmp_d.c @@ -68,6 +68,7 @@ main (void) exit (1); } +#ifndef MPFR_NANISNAN /* Check NAN */ mpfr_clear_erangeflag (); c = mpfr_cmp_d (x, DBL_NAN); @@ -84,6 +85,7 @@ main (void) printf ("ERROR for NAN (2)\n"); exit (1); } +#endif /* MPFR_NANISNAN */ mpfr_clear(x); |