summaryrefslogtreecommitdiff
path: root/tests/tget_d_2exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tget_d_2exp.c')
-rw-r--r--tests/tget_d_2exp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tget_d_2exp.c b/tests/tget_d_2exp.c
index c2b262a38..610513e81 100644
--- a/tests/tget_d_2exp.c
+++ b/tests/tget_d_2exp.c
@@ -90,17 +90,17 @@ check_inf_nan (void)
mpfr_set_inf (x, 1);
d = mpfr_get_d_2exp (&exp, x, MPFR_RNDZ);
- ASSERT_ALWAYS (d > 0);
- ASSERT_ALWAYS (DOUBLE_ISINF (d));
+ MPFR_ASSERTN (d > 0);
+ MPFR_ASSERTN (DOUBLE_ISINF (d));
mpfr_set_inf (x, -1);
d = mpfr_get_d_2exp (&exp, x, MPFR_RNDZ);
- ASSERT_ALWAYS (d < 0);
- ASSERT_ALWAYS (DOUBLE_ISINF (d));
+ MPFR_ASSERTN (d < 0);
+ MPFR_ASSERTN (DOUBLE_ISINF (d));
mpfr_set_nan (x);
d = mpfr_get_d_2exp (&exp, x, MPFR_RNDZ);
- ASSERT_ALWAYS (DOUBLE_ISNAN (d));
+ MPFR_ASSERTN (DOUBLE_ISNAN (d));
mpfr_clear (x);
#endif