diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-02-04 14:17:56 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-02-04 14:17:56 +0000 |
commit | c3a36415a7440110cb47a3ea314fc55e00adb7f9 (patch) | |
tree | 4dd0267276967ea744c49680c5fe10a42fb634cd /tests/tcmp_ld.c | |
parent | a0b24fa20c70b60a3ef7d8ed4af64a9a666857b2 (diff) | |
download | mpfr-c3a36415a7440110cb47a3ea314fc55e00adb7f9.tar.gz |
[tests] Use MPFR_DBL_* macros when necessary.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13446 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcmp_ld.c')
-rw-r--r-- | tests/tcmp_ld.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tcmp_ld.c b/tests/tcmp_ld.c index 22ae139c3..a33059669 100644 --- a/tests/tcmp_ld.c +++ b/tests/tcmp_ld.c @@ -23,6 +23,7 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #include <float.h> #include "mpfr-test.h" +#include "ieee_floats.h" int main (void) @@ -88,7 +89,7 @@ main (void) int c; mpfr_clear_flags (); - c = mpfr_cmp_ld (x, DBL_NAN); + c = mpfr_cmp_ld (x, MPFR_DBL_NAN); if (c != 0 || __gmpfr_flags != MPFR_FLAGS_ERANGE) { printf ("ERROR for NAN (1)\n"); |