cpp/numeric/fenv/fetestexcept

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

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