Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

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
Committed
Availability
system/library/math
MT-Level
MT-Safe
Standard

See Also

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