|
|
Basic types | |||||||||||||||||||||
Fixed width integer types(C++11) | |||||||||||||||||||||
Fixed width floating-point types(C++23) | |||||||||||||||||||||
| |||||||||||||||||||||
Numeric limits | |||||||||||||||||||||
C numeric limits interface | |||||||||||||||||||||
Runtime type information | |||||||||||||||||||||
|
Static constants | ||||
(C++11) | ||||
Static member functions | ||||
(C++11) | ||||
Helper types | ||||
float_round_style | ||||
Defined in header <limits> | ||
enum float_round_style{ round_indeterminate =-1, | ||
Enumeration constants of typestd::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.
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 |
[static] | identifies the rounding style used by the type (public static member constant)[edit] |
floating-point rounding direction (macro constant)[edit] |