std::numeric_limits
From cppreference.com
| Defined in header <limits>
|
||
| template< class T > class numeric_limits; |
||
The std::numeric_limits class template provides a standardized way to query various properties of arithmetic types (e.g. the largest possible value for type int is std::numeric_limits<int>::max()).
This information is provided via specializations of the std::numeric_limits template. The standard library makes available specializations for all arithmetic types (only lists the specializations for cv-unqualified arithmetic types):
| Defined in header |