7.6.2.2 The fegetexceptflag function
Synopsis
#include <fenv.h>
int fegetexceptflag(fexcept_t *flagp,
int excepts);
Description
The fegetexceptflag function attempts to store an implementation-defined representation of the states of the floating-point status flags indicated by the argument excepts in the object pointed to by the argument flagp.
Returns
The fegetexceptflag function returns zero if the representation was successfully stored. Otherwise, it returns a nonzero value.