diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-11-15 09:44:27 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-11-15 09:44:27 +0000 |
commit | 065c2c9094d48f8856475a96bb32484db9ea7549 (patch) | |
tree | 03e0d846333d3616f22c18db945ee49e438489c8 /tests/tget_d_2exp.c | |
parent | 2639dd218b1c526c73fa8cec4cb01c3f0271f93f (diff) | |
download | mpfr-065c2c9094d48f8856475a96bb32484db9ea7549.tar.gz |
[tests] _GMP_IEEE_FLOATS was got rid of in r10150, but still used in
the tests, meaning that some tests were no longer done. So, get rid of
_GMP_IEEE_FLOATS also in the tests. Testing !defined(MPFR_ERRDIVZERO)
or defined(HAVE_SIGNEDZ) should be sufficient, depending on the context
(they were already used alone at some other places, so that new failures
are unlikely); anyway, _GMP_IEEE_FLOATS was not the right macro to test.
Only tget_set_d64.c has a specific change to use _MPFR_IEEE_FLOATS.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10958 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_d_2exp.c')
-rw-r--r-- | tests/tget_d_2exp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tget_d_2exp.c b/tests/tget_d_2exp.c index 34a9f404f..9e8d6957a 100644 --- a/tests/tget_d_2exp.c +++ b/tests/tget_d_2exp.c @@ -78,8 +78,7 @@ check_round (void) static void check_inf_nan (void) { - /* only if nans and infs are available */ -#if _GMP_IEEE_FLOATS +#if !defined(MPFR_ERRDIVZERO) mpfr_t x; double d; long exp; |