std::fegetexceptflag, std::fesetexceptflag
Min standard notice:
Header: <cfenv>
- 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
flagp: pointer to an std::fexcept_t object where the flags will be stored or read fromexcepts: bitmask listing the exception flags to get/set
# Return value
0 on success, non-zero otherwise.