1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Allow fesetround failures in math/test-misc.c if ROUNDING_TESTS fails.

This commit is contained in:
Joseph Myers
2013-06-20 19:11:34 +00:00
parent c91e082525
commit b8c792af85
2 changed files with 8 additions and 1 deletions

View File

@ -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;