Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

<limits>

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at <limits>.

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

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

Enumerations

float_denorm_styleThe 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_styleThe enumeration describes the various methods that an implementation can choose for rounding a floating-point value to an integer value.

Classes

numeric_limits ClassThe template class describes arithmetic properties of built-in numerical types.

Header Files Reference
Thread Safety in the C++ Standard Library

Show:
© 2017 Microsoft