Namespaces
Variants
Views
Actions

feclearexcept

From cppreference.com
< c‎ | numeric‎ | fenv
Revision as of 22:37, 31 May 2013 by P12bot (Talk | contribs)

Defined in header <<fenv.h>>
int feclearexcept( int excepts );
(since C99)

Attempts to clear the floating-point exceptions that are listed in the bitmask argument excepts, which is a bitwise OR of the floating point exception macros.

Contents

Parameters

excepts - bitmask listing the exception flags to clear

Return value

0 if all indicated exceptions were successfully cleared or if excepts is zero. Returns a non-zero value on error.

Example

See also

determines which of the specified floating-point status flags are set
(function) [edit]
C++ documentation for feclearexcept