Namespaces
Variants
Views
Actions

fetestexcept

From cppreference.com
< c‎ | numeric‎ | fenv
Revision as of 20:18, 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 fetestexcept( int excepts );
</td>

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

Determines which of the specified subset of the floating point exceptions are currently set. The argument excepts is a bitwise OR of the floating point exception macros.

Contents

Parameters

excepts - bitmask listing the exception flags to test

Return value

Bitwise OR of the floating-point exception macros that are both included in excepts and correspond to floating-point exceptions currently set.

Example

See also

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