type
<limits>
std::float_round_styleEnum type for float rounding style
Enumerated type with possible rounding styles for floating types. It is the type of member round_style in the numeric_limits class template.It is defined as:
1
2
3
4
5
6
7
enum float_round_style {
round_indeterminate = -1,
round_toward_zero = 0,
round_to_nearest = 1,
round_toward_infinity = 2,
round_toward_neg_infinity = 3
};
-1
Rounding style cannot be determined at compile time round_toward_zero 0
Rounding style toward zero round_to_nearest 1
Rounding style to the nearest representable value round_toward_infinity 2
Rounding style toward infinity round_toward_neg_infinity 3
Rounding style toward negative infinity
0
).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4