Reference

macro
<cfenv>

FE_UPWARD

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

Rounding x upward selects the smallest possible value that is not less than x.

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

See also

FE_DOWNWARD
Downward rounding direction mode (macro)
FE_TONEAREST
To-nearest rounding direction mode (macro)
FE_TOWARDZERO
Toward-zero rounding direction mode (macro)
fegetround
Get rounding direction mode (function)
fesetround
Set rounding direction mode (function)

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