The following macros relate to the rounding direction of floating-point values that cannot be exactly represented in the significand.
Macro | Description |
---|---|
FE_DOWNWARD |
Round down, towards negative infinity. |
FE_TONEAREST |
Round to the nearest value. |
FE_TOWARDZERO |
Round towards zero. |
FE_UPWARD |
Round up, towards positive infinity. |