FECLEAREXCEPT(3M) Mathematical Library Functions FECLEAREXCEPT(3M)

feclearexcept - clear floating-point exception

c99 [ flag... ] file... -lm [ library... ]
#include <fenv.h>
int feclearexcept(int excepts);

The feclearexcept() function attempts to clear the supported floating-point exceptions represented by excepts.

If excepts is 0 or if all the specified exceptions were successfully cleared, feclearexcept() returns 0. Otherwise, it returns a non-zero value.

No errors are defined.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Standard
MT-Level MT-Safe

fenv.h(3HEAD), fegetexceptflag(3M), feraiseexcept(3M), fesetexceptflag(3M), fetestexcept(3M), attributes(7), standards(7)

July 12, 2006 SunOS 5.11