Clears floating-point exceptions.
#include <fenv.h>
int feclearexcept (excepts)
int excepts;
The feclearexcept subroutine attempts to clear the supported floating-point exceptions represented by the excepts parameter.
Item | Description |
---|---|
excepts | Specifies the supported floating-point exception to be cleared. |
If the excepts parameter is zero or if all the specified exceptions were successfully cleared, the feclearexcept subroutine returns zero. Otherwise, it returns a nonzero value.