summaryrefslogtreecommitdiff
path: root/tests/tget_d_2exp.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-05-19 13:45:10 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-05-19 13:45:10 +0000
commitcd6d443a66f0ac8a9e7b46a4ce5adfdcc0c399c8 (patch)
tree046a6e58bde0755b86f1a66ee3d8cd995390108c /tests/tget_d_2exp.c
parentf19ddeb2b18e1483ae3f9e5570e3ed9380d339be (diff)
downloadmpfr-cd6d443a66f0ac8a9e7b46a4ce5adfdcc0c399c8.tar.gz
[tests] Got rid of MPFR_TESTS_EXCEPTIONS (added in r11489 and above),
which is redundant with MPFR_TESTS_DIVBYZERO and MPFR_ERRDIVZERO. The code related to these exception is now like r11488 (see the output of "svn diff -r11488"), but keeping the following changes: * Missing !defined(MPFR_ERRDIVZERO) tests added in r11498,11499. * In tests.c: - code related to traps (macro MPFR_RAISE_EXCEPTIONS, which will be renamed); - more detailed output about which FP exceptions occurred; - removal of "#ifdef MPFR_ERRDIVZERO" (as in r11493), as this is better with Automake 1.13+ (required by MPFR since r9375). Note: EXCEPTIONS_FLAG renamed to FPE_FLAGS, since EXCEPTIONS_FLAG is reserved by ISO C when <errno.h> is included. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11504 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_d_2exp.c')
-rw-r--r--tests/tget_d_2exp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tget_d_2exp.c b/tests/tget_d_2exp.c
index a7ebb330e..8cf6af5ff 100644
--- a/tests/tget_d_2exp.c
+++ b/tests/tget_d_2exp.c
@@ -78,7 +78,7 @@ check_round (void)
static void
check_inf_nan (void)
{
-#if !defined(MPFR_ERRDIVZERO) && !defined(MPFR_TESTS_EXCEPTIONS)
+#if !defined(MPFR_ERRDIVZERO)
mpfr_t x;
double d;
long exp;