summaryrefslogtreecommitdiff
path: root/tests/tmul.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tmul.c')
-rw-r--r--tests/tmul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tmul.c b/tests/tmul.c
index 7e25dbc84..c503ab2ab 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -232,7 +232,7 @@ check_exact (void)
printf ("inexact=0 but results differ\n");
exit (1);
}
- else if (inexact && (mpfr_cmp (c, d) == 0))
+ else if (inexact && (mpfr_cmp (c, d) == 0) && rnd != MPFR_RNDF)
{
printf ("inexact!=0 but results agree\n");
printf ("prec=%u rnd=%s a=", (unsigned int) prec,