std::float_round_style - cppreference.com
From cppreference.com
|
|
||
Enumeration constants of type std::float_round_style indicate the rounding style used by floating-point arithmetic whenever a result of an expression is stored in an object of a floating-point type.
Enumeration constants
| Enumerator | Meaning |
| std::round_indeterminate | rounding style cannot be determined |
| std::round_toward_zero | rounding toward zero |
| std::round_to_nearest | rounding toward nearest representable value |
| std::round_toward_infinity | rounding toward positive infinity |
| std::round_toward_neg_infinity | rounding toward negative infinity |