STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
numeric_limits< _Ty > Class Template Reference
Inheritance diagram for numeric_limits< _Ty >:
_Num_base numeric_limits< const _Ty > numeric_limits< const volatile _Ty > numeric_limits< volatile _Ty >

Static Public Member Functions

static constexpr _Ty() min () _THROW0()
 
static constexpr _Ty() max () _THROW0()
 
static constexpr _Ty lowest () _THROW0()
 
static constexpr _Ty epsilon () _THROW0()
 
static constexpr _Ty round_error () _THROW0()
 
static constexpr _Ty denorm_min () _THROW0()
 
static constexpr _Ty infinity () _THROW0()
 
static constexpr _Ty quiet_NaN () _THROW0()
 
static constexpr _Ty signaling_NaN () _THROW0()
 

Additional Inherited Members

- Public Member Functions inherited from _Num_base
 _STCONS (float_denorm_style, has_denorm, denorm_absent)
 
 _STCONS (bool, has_denorm_loss, false)
 
 _STCONS (bool, has_infinity, false)
 
 _STCONS (bool, has_quiet_NaN, false)
 
 _STCONS (bool, has_signaling_NaN, false)
 
 _STCONS (bool, is_bounded, false)
 
 _STCONS (bool, is_exact, false)
 
 _STCONS (bool, is_iec559, false)
 
 _STCONS (bool, is_integer, false)
 
 _STCONS (bool, is_modulo, false)
 
 _STCONS (bool, is_signed, false)
 
 _STCONS (bool, is_specialized, false)
 
 _STCONS (bool, tinyness_before, false)
 
 _STCONS (bool, traps, false)
 
 _STCONS (float_round_style, round_style, round_toward_zero)
 
 _STCONS (int, digits, 0)
 
 _STCONS (int, digits10, 0)
 
 _STCONS (int, max_digits10, 0)
 
 _STCONS (int, max_exponent, 0)
 
 _STCONS (int, max_exponent10, 0)
 
 _STCONS (int, min_exponent, 0)
 
 _STCONS (int, min_exponent10, 0)
 
 _STCONS (int, radix, 0)
 

Member Function Documentation

template<class _Ty >
static constexpr _Ty numeric_limits< _Ty >::denorm_min ( )
inlinestatic
131  { // return minimum denormalized value
132  return (_Ty());
133  }
template<class _Ty >
static constexpr _Ty numeric_limits< _Ty >::epsilon ( )
inlinestatic
121  { // return smallest effective increment from 1.0
122  return (_Ty());
123  }
template<class _Ty >
static constexpr _Ty numeric_limits< _Ty >::infinity ( )
inlinestatic
136  { // return positive infinity
137  return (_Ty());
138  }
template<class _Ty >
static constexpr _Ty numeric_limits< _Ty >::lowest ( )
inlinestatic
116  { // return most negative value
117  return (_Ty());
118  }
template<class _Ty >
static constexpr _Ty() numeric_limits< _Ty >::max ( )
inlinestatic
111  { // return maximum value
112  return (_Ty());
113  }
template<class _Ty >
static constexpr _Ty() numeric_limits< _Ty >::min ( )
inlinestatic
106  { // return minimum value
107  return (_Ty());
108  }
template<class _Ty >
static constexpr _Ty numeric_limits< _Ty >::quiet_NaN ( )
inlinestatic
141  { // return non-signaling NaN
142  return (_Ty());
143  }
template<class _Ty >
static constexpr _Ty numeric_limits< _Ty >::round_error ( )
inlinestatic
126  { // return largest rounding error
127  return (_Ty());
128  }
template<class _Ty >
static constexpr _Ty numeric_limits< _Ty >::signaling_NaN ( )
inlinestatic
146  { // return signaling NaN
147  return (_Ty());
148  }

The documentation for this class was generated from the following file: