aboutsummaryrefslogtreecommitdiff
path: root/math/test-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-misc.c')
-rw-r--r--math/test-misc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/test-misc.c b/math/test-misc.c
index 390415a..27d673b 100644
--- a/math/test-misc.c
+++ b/math/test-misc.c
@@ -1295,7 +1295,11 @@ main (void)
if (fesetround (mode))
{
printf ("failed to set rounding mode to %s\n", mstr);
- result = 1;
+ if (ROUNDING_TESTS (long double, mode)
+ && ROUNDING_TESTS (double, mode))
+ result = 1;
+ else
+ puts ("ignoring this failure");
break;
}
d5 = ld5 * i;