Type float_round_style

An enumerated type in std namespace that is used to determine the characteristics for rounding floating point numbers.

Table 1. Floating Point Rounding Styles
Enumerated Type Value Meaning
round_indeterminate -1 The rounding is indeterminable
round_toward_zero 0 The rounding is toward zero
round_to_nearest 1 Round is to the nearest value
round_toward_infinity 2 The rounding is to infinity
round_toward_neg_infinity 3 The rounding is to negative infinity