Namespaces
Variants
Views
Actions

feclearexcept

From cppreference.com
< c‎ | numeric‎ | fenv
Revision as of 20:24, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <<fenv.h>>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
int feclearexcept( int excepts );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C99) </td> </tr> Template:ddcl list end

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

Template:c/numeric/fenv/dcl list fetestexcept
C++ documentation for feclearexcept