mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-31 15:01:09 +00:00
Fix overflow test.
This commit is contained in:
parent
07449987c9
commit
9dd39f84a9
@ -17,7 +17,7 @@ main (void)
|
||||
puts ("nextafterf+ failed");
|
||||
++result;
|
||||
}
|
||||
if (fetestexcept (FE_OVERFLOW) != 0)
|
||||
if (fetestexcept (FE_OVERFLOW) == 0)
|
||||
{
|
||||
puts ("nextafterf+ did not overflow");
|
||||
++result;
|
||||
@ -28,7 +28,7 @@ main (void)
|
||||
puts ("nextafterf- failed");
|
||||
++result;
|
||||
}
|
||||
if (fetestexcept (FE_OVERFLOW) != 0)
|
||||
if (fetestexcept (FE_OVERFLOW) == 0)
|
||||
{
|
||||
puts ("nextafterf- did not overflow");
|
||||
++result;
|
||||
@ -42,7 +42,7 @@ main (void)
|
||||
puts ("nextafter+ failed");
|
||||
++result;
|
||||
}
|
||||
if (fetestexcept (FE_OVERFLOW) != 0)
|
||||
if (fetestexcept (FE_OVERFLOW) == 0)
|
||||
{
|
||||
puts ("nextafter+ did not overflow");
|
||||
++result;
|
||||
@ -53,7 +53,7 @@ main (void)
|
||||
puts ("nextafter failed");
|
||||
++result;
|
||||
}
|
||||
if (fetestexcept (FE_OVERFLOW) != 0)
|
||||
if (fetestexcept (FE_OVERFLOW) == 0)
|
||||
{
|
||||
puts ("nextafter- did not overflow");
|
||||
++result;
|
||||
|
Loading…
Reference in New Issue
Block a user