fegetexceptflag() — Store the states of floating-point status flags

Standards

Standards / Extensions C or C++ Dependencies

C99
Single UNIX Specification, Version 3
C++ TR1 C99

both  z/OS V1R7

Format

#define _ISOC99_SOURCE
#include <fenv.h>

int fegetexceptflag(fexcept_t *flagp, int excepts);

General description

fegetexceptflag() stores an implementation defined representation of the states of floating-point status flags indicated by excepts in the object pointed to by flagp.
Note: The following table shows the viable formats for these functions. See IEEE binary floating-point for more information about IEEE Binary Floating-Point.
Function Hex IEEE
fegetexceptflag   X

Returned value

If successful, fegetexceptflag() returns 0 upon completion of the store.

Related information