Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the class template numeric_limits
and two enumerations concerning floating-point representations and rounding.
Requirements
Header: <limits>
Namespace: std
Remarks
Explicit specializations of the numeric_limits
class describe many properties of the fundamental types, including the character, integer, and floating-point types and bool
that are implementation defined rather than fixed by the rules of the C++ language. Properties described in <limits> include accuracy, minimum and maximum sized representations, rounding, and signaling type errors.
Members
Enumerations
Name | Description |
---|---|
float_denorm_style | The enumeration describes the various methods that an implementation can choose for representing a denormalized floating-point value — one too small to represent as a normalized value: |
float_round_style | The enumeration describes the various methods that an implementation can choose for rounding a floating-point value to an integer value. |
Classes
Name | Description |
---|---|
numeric_limits Class | The class template describes arithmetic properties of built-in numerical types. |
See also
Header Files Reference
Thread Safety in the C++ Standard Library