Dela via


<limits>

Defines the template class numeric_limits and two enumerations concerning floating-point representations and rounding.

For a list of all members of this header, see <limits> Members.

#include <limits>

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.

See Also

Reference

Thread Safety in the Standard C++ Library

Other Resources

<limits> Members

Header Files