summaryrefslogtreecommitdiff
path: root/tests/texp10.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texp10.c')
-rw-r--r--tests/texp10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/texp10.c b/tests/texp10.c
index ea9564fd1..181c730bd 100644
--- a/tests/texp10.c
+++ b/tests/texp10.c
@@ -169,7 +169,7 @@ overfl_exp10_0 (void)
i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
err = 1;
}
- if (! (mpfr_inf_p (x) && MPFR_SIGN (x) > 0))
+ if (! (mpfr_inf_p (x) && MPFR_IS_POS (x)))
{
printf ("Error in overfl_exp10_0 (i = %d, rnd = %s):\n"
" Got ", i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));