The
numeric_limits
class template provides a C++ program with information about various properties of
the implementation's representation of the
arithmetic types.
For all members declared
staticconstexpr
in the
numeric_limits
template, specializations shall define these values in such a way
that they are usable as
constant expressions.
The value of each member of a specialization of
numeric_limits on a cv-qualified type
cv T shall be equal to the value of the corresponding member of
the specialization on the unqualified type T.