feclearexcept(3M) Mathematical Library Functions feclearexcept(3M)
NAME
feclearexcept - clear floating-point exception
SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <fenv.h>
int feclearexcept(int excepts);
DESCRIPTION
The feclearexcept() function attempts to clear the supported floating-point exceptions represented by excepts.
RETURN VALUES
If excepts is 0 or if all the specified exceptions were successfully cleared, feclearexcept() returns 0. Otherwise, it returns a non-zero
value.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
fenv.h(3HEAD), fegetexceptflag(3M), feraiseexcept(3M), fesetexceptflag(3M), fetestexcept(3M), attributes(5), standards(5)
SunOS 5.10 1 Dec 2003 feclearexcept(3M)