mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix overflow test.
This commit is contained in:
@ -17,7 +17,7 @@ main (void)
|
|||||||
puts ("nextafterf+ failed");
|
puts ("nextafterf+ failed");
|
||||||
++result;
|
++result;
|
||||||
}
|
}
|
||||||
if (fetestexcept (FE_OVERFLOW) != 0)
|
if (fetestexcept (FE_OVERFLOW) == 0)
|
||||||
{
|
{
|
||||||
puts ("nextafterf+ did not overflow");
|
puts ("nextafterf+ did not overflow");
|
||||||
++result;
|
++result;
|
||||||
@ -28,7 +28,7 @@ main (void)
|
|||||||
puts ("nextafterf- failed");
|
puts ("nextafterf- failed");
|
||||||
++result;
|
++result;
|
||||||
}
|
}
|
||||||
if (fetestexcept (FE_OVERFLOW) != 0)
|
if (fetestexcept (FE_OVERFLOW) == 0)
|
||||||
{
|
{
|
||||||
puts ("nextafterf- did not overflow");
|
puts ("nextafterf- did not overflow");
|
||||||
++result;
|
++result;
|
||||||
@ -42,7 +42,7 @@ main (void)
|
|||||||
puts ("nextafter+ failed");
|
puts ("nextafter+ failed");
|
||||||
++result;
|
++result;
|
||||||
}
|
}
|
||||||
if (fetestexcept (FE_OVERFLOW) != 0)
|
if (fetestexcept (FE_OVERFLOW) == 0)
|
||||||
{
|
{
|
||||||
puts ("nextafter+ did not overflow");
|
puts ("nextafter+ did not overflow");
|
||||||
++result;
|
++result;
|
||||||
@ -53,7 +53,7 @@ main (void)
|
|||||||
puts ("nextafter failed");
|
puts ("nextafter failed");
|
||||||
++result;
|
++result;
|
||||||
}
|
}
|
||||||
if (fetestexcept (FE_OVERFLOW) != 0)
|
if (fetestexcept (FE_OVERFLOW) == 0)
|
||||||
{
|
{
|
||||||
puts ("nextafter- did not overflow");
|
puts ("nextafter- did not overflow");
|
||||||
++result;
|
++result;
|
||||||
|
Reference in New Issue
Block a user