int
int
that identifies the floating-point exception raised on pole errors.log(0.0)
.|
) into a single value:macro value | description |
---|---|
FE_DIVBYZERO | Pole error: division by zero, or some other asymptotically infinite result (from finite arguments). |
FE_INEXACT | Inexact: the result is not exact. |
FE_INVALID | Domain error: At least one of the arguments is a value for which the function is not defined. |
FE_OVERFLOW | Overflow range error: The result is too large in magnitude to be represented as a value of the return type. |
FE_UNDERFLOW | Underflow range error: The result is too small in magnitude to be represented as a value of the return type. |
FE_ALL_EXCEPT | All exceptions (selects all of the exceptions supported by the implementation). |
FE_
).<fenv.h>
only the macro values above they support (the others may not be defined).<cfenv>
(even if not supported by the implementation).