7.6.2.2 The fegetexceptflag function

Synopsis

1

#include <fenv.h>
int fegetexceptflag(fexcept_t *flagp,
     int excepts);

Description

2

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

3

The fegetexceptflag function returns zero if the representation was successfully stored. Otherwise, it returns a nonzero value.