diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-02-06 09:10:34 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-02-06 09:10:34 +0000 |
commit | 7e408afc43bc53101409ebfc94d1f00fe0723f77 (patch) | |
tree | e28c48e44a5ac6128b8be9d59cfc2fd1c712f2a9 /tests/tcmp_ld.c | |
parent | a586834d788017fc9d4106dd27c7c9bfb77c5f86 (diff) | |
download | mpfr-7e408afc43bc53101409ebfc94d1f00fe0723f77.tar.gz |
[tests] Use MPFR_DBL_* macros when necessary.
(merged changeset r13446 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@13449 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"); |