mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Use math-tests.h more in math/test-misc.
This commit is contained in:
@ -1306,7 +1306,11 @@ main (void)
|
||||
{
|
||||
printf ("%La incorrectly rounded to %s as %a\n",
|
||||
ld5 * i, mstr, d5);
|
||||
result = 1;
|
||||
if (ROUNDING_TESTS (long double, mode)
|
||||
&& ROUNDING_TESTS (double, mode))
|
||||
result = 1;
|
||||
else
|
||||
puts ("ignoring this failure");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1322,7 +1326,11 @@ main (void)
|
||||
if (d7 != nextafter (0.0, 1.0))
|
||||
{
|
||||
printf ("%La incorrectly rounded upward to %a\n", ld7, d7);
|
||||
result = 1;
|
||||
if (ROUNDING_TESTS (long double, FE_UPWARD)
|
||||
&& ROUNDING_TESTS (double, FE_UPWARD))
|
||||
result = 1;
|
||||
else
|
||||
puts ("ignoring this failure");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user