You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many cases of math functions not returning correct errno and floating point exceptions according to the C standard. The following cases are reported by Fred J. Tydeman:
log(1) = -0 for FE_DOWNWARD
logb(0) is not raising divide-by-zero
sqrt(-infinity) => missing errno == EDOM
fmod(-NAN,-NAN) = +NAN
remainder(-infinity, -infinity) => no invalid
nextafter(-max, -infinity) => no overflow, no inexact
fdim(-inf, -inf) => invalid (should be no FP exception)
fdim(-max, -den) => inexact (should be no FP exception)