The
fegetround() function determines the current floating-point rounding mode, and the
fesetround() function sets the current rounding mode to
round. The rounding mode is one of
FE_TONEAREST,
FE_DOWNWARD,
FE_UPWARD, or
FE_TOWARDZERO, as described in
fenv(3).