Reference

macro
<cfenv>

FE_TOWARDZERO

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

Rounding x toward zero selects the nearest possible value that is not larger in magnitude than x.

Possible rounding direction modes are:
macro valuedescription
FE_DOWNWARD Round downward.
FE_TONEAREST Round to nearest.
FE_TOWARDZERORound toward zero.
FE_UPWARD Round upward.

See also

FE_DOWNWARD
Downward rounding direction mode (macro)
FE_TONEAREST
To-nearest rounding direction mode (macro)
FE_UPWARD
Upward rounding direction mode (macro)
fegetround
Get rounding direction mode (function)
fesetround
Set rounding direction mode (function)

AltStyle によって変換されたページ (->オリジナル) /