macro
<cfenv>
FE_TOWARDZERO
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:
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
)