macro
<cfenv>

FE_TONEAREST

int
To-nearest rounding direction mode
This macro expands to a value of type int that identifies the to-nearest rounding direction mode for functions fegetround and fesetround.

Rounding x to-nearest selects the possible value that is nearest to x, with halfway cases rounded away from zero.

Possible rounding direction modes are:
macro valuedescription
FE_DOWNWARDRound downward.
FE_TONEARESTRound to nearest.
FE_TOWARDZERORound toward zero.
FE_UPWARDRound upward.

See also