Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

<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>

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.

Community Additions

ADD
Show:
© 2015 Microsoft