std::numeric_limits is a C++ standard library class that contains traits and information about the built-in numeric types, such as the maximum and minimum representable values, number of digits, and whether the it is a signed type. Access to this class is provided via the header <limits>.