feclearexcept(3M) Mathematical Library Functions feclearexcept(3M)NAMEfeclearexcept - 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(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Standard │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOfenv.h(3HEAD), fegetexceptflag(3M), feraiseexcept(3M), fesetexcept‐
flag(3M), fetestexcept(3M), attributes(5), standards(5)SunOS 5.10 12 Jul 2006 feclearexcept(3M)