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)
SunOS 5.11 July 12, 2006 FECLEAREXCEPT(3M)
NAME
feclearexcept - clear floating-point exception
SYNOPSIS
c99 [ 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(7) 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(7), standards(7)
SunOS 5.11 July 12, 2006 FECLEAREXCEPT(3M)