puts ("nextafterf+ failed");
++result;
}
- if (fetestexcept (FE_OVERFLOW) != 0)
+ if (fetestexcept (FE_OVERFLOW) == 0)
{
puts ("nextafterf+ did not overflow");
++result;
puts ("nextafterf- failed");
++result;
}
- if (fetestexcept (FE_OVERFLOW) != 0)
+ if (fetestexcept (FE_OVERFLOW) == 0)
{
puts ("nextafterf- did not overflow");
++result;
puts ("nextafter+ failed");
++result;
}
- if (fetestexcept (FE_OVERFLOW) != 0)
+ if (fetestexcept (FE_OVERFLOW) == 0)
{
puts ("nextafter+ did not overflow");
++result;
puts ("nextafter failed");
++result;
}
- if (fetestexcept (FE_OVERFLOW) != 0)
+ if (fetestexcept (FE_OVERFLOW) == 0)
{
puts ("nextafter- did not overflow");
++result;