feclearexcept() — Clear the floating-point exceptions

Standards

Standards / Extensions C or C++ Dependencies

C99
Single UNIX Specification, Version 3
C++ TR1 C99

both  z/OS V1R7

Format

#define _ISOC99_SOURCE
#include <fenv.h>

int feclearexcept (int excepts);

General description

feclearexcept() clears the supported floating-point exceptions represented by excepts.
Note: The following table shows the viable formats for these functions. See IEEE binary floating-point for more information about IEEE Binary Floating-Point.
Function Hex IEEE
feclearexcept   X

Returned value

If successful, feclearexcept() returns 0 if the argument passed is 0 or if all the exceptions are successfully cleared.

Related information