##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# fetestexcept

From cppreference.com
< c‎ | numeric‎ | fenv

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.

### [edit] Parameters

excepts | - | bitmask listing the exception flags to test

### [edit] Return value

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

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

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

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/numeric/fenv/fetestexcept&oldid=62552"
Category:

- Todo no example