summaryrefslogtreecommitdiff
path: root/tests/texp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texp.c')
-rw-r--r--tests/texp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/texp.c b/tests/texp.c
index 47d2c93b2..8aa7a50f8 100644
--- a/tests/texp.c
+++ b/tests/texp.c
@@ -296,7 +296,7 @@ check_special (void)
exit (1);
}
/* Check overflow. Corner case of mpfr_exp_3 */
- if (MPFR_PREC_MAX > MPFR_EXP_THRESHOLD + 10)
+ if (MPFR_PREC_MAX >= MPFR_EXP_THRESHOLD + 10 && MPFR_EXP_THRESHOLD >= 64)
{
mpfr_set_prec (x, MPFR_EXP_THRESHOLD + 10);
mpfr_set_str (x,