Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C99 |
both | z/OS V1R7 |
#define _ISOC99_SOURCE
#include <fenv.h>
int fegetround(void);
Function | Hex | IEEE |
---|---|---|
fegetround | X |
If successful, fegetround() returns the value of the rounding mode macro representing the current rounding mode. Otherwise, returns a negative value if there is no such rounding mode macro or the current rounding mode is not determinable.