diff options
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); |