Namespaces
Variants
Views
Actions

fetestexcept

From cppreference.com
< c‎ | numeric‎ | fenv
Revision as of 16:27, 1 July 2013 by P12bot (Talk | contribs)

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

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

clears the specified floating-point status flags
(function) [edit]
C++ documentation for fetestexcept