std::fegetexceptflag, std::fesetexceptflag

Header: <cfenv>

  1. Attempts to obtain the full contents of the floating-point exception flags that are listed in the bitmask argument excepts, which is a bitwise OR of the floating point exception macros.

# Declarations

int fegetexceptflag( std::fexcept_t* flagp, int excepts );

(since C++11)

int fesetexceptflag( const std::fexcept_t* flagp, int excepts );

(since C++11)

# Parameters

# Return value

0 on success, non-zero otherwise.

# See also