libstdc++
|
Static Public Member Functions | |
static constexpr _Tp | denorm_min () noexcept |
static constexpr _Tp | epsilon () noexcept |
static constexpr _Tp | infinity () noexcept |
static constexpr _Tp | lowest () noexcept |
static constexpr _Tp | max () noexcept |
static constexpr _Tp | min () noexcept |
static constexpr _Tp | quiet_NaN () noexcept |
static constexpr _Tp | round_error () noexcept |
static constexpr _Tp | signaling_NaN () noexcept |
Static Public Attributes | |
static constexpr int | digits |
static constexpr int | digits10 |
static constexpr float_denorm_style | has_denorm |
static constexpr bool | has_denorm_loss |
static constexpr bool | has_infinity |
static constexpr bool | has_quiet_NaN |
static constexpr bool | has_signaling_NaN |
static constexpr bool | is_bounded |
static constexpr bool | is_exact |
static constexpr bool | is_iec559 |
static constexpr bool | is_integer |
static constexpr bool | is_modulo |
static constexpr bool | is_signed |
static constexpr bool | is_specialized |
static constexpr int | max_digits10 |
static constexpr int | max_exponent |
static constexpr int | max_exponent10 |
static constexpr int | min_exponent |
static constexpr int | min_exponent10 |
static constexpr int | radix |
static constexpr float_round_style | round_style |
static constexpr bool | tinyness_before |
static constexpr bool | traps |
Properties of fundamental types.
This class allows a program to obtain information about the representation of a fundamental type on a given platform. For non-fundamental types, the functions will return 0 and the data members will all be false
.
_GLIBCXX_RESOLVE_LIB_DEFECTS: DRs 201 and 184 (hi Gaby!) are noted, but not incorporated in this documented (yet).
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
The machine epsilon: the difference between 1 and the least value greater than 1 that is representable.
Definition at line 336 of file limits.
Referenced by std::binomial_distribution< _IntType >::operator()(), std::poisson_distribution< _IntType >::operator()(), and std::operator<<().
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
A finite value x such that there is no other finite value y where y < x.
Definition at line 330 of file limits.
Referenced by std::normal_distribution< result_type >::min(), std::cauchy_distribution< _RealType >::min(), std::student_t_distribution< _RealType >::min(), and std::extreme_value_distribution< _RealType >::min().
|
inlinestaticnoexcept |
The maximum finite value.
Definition at line 324 of file limits.
Referenced by std::normal_distribution< result_type >::max(), std::lognormal_distribution< _RealType >::max(), std::gamma_distribution< result_type >::max(), std::chi_squared_distribution< _RealType >::max(), std::cauchy_distribution< _RealType >::max(), std::fisher_f_distribution< _RealType >::max(), std::student_t_distribution< _RealType >::max(), std::bernoulli_distribution::max(), std::geometric_distribution< _IntType >::max(), std::negative_binomial_distribution< _IntType >::max(), std::poisson_distribution< _IntType >::max(), std::exponential_distribution< _RealType >::max(), std::weibull_distribution< _RealType >::max(), std::extreme_value_distribution< _RealType >::max(), std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::operator()(), std::binomial_distribution< _IntType >::operator()(), std::poisson_distribution< _IntType >::operator()(), and std::operator<<().
|
inlinestaticnoexcept |
The minimum finite value, or for floating types with denormalization, the minimum positive normalized value.
Definition at line 320 of file limits.
Referenced by std::bernoulli_distribution::min(), and std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::operator()().
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
True if the type is modulo. A type is modulo if, for any operation involving +, -, or * on values of that type whose result would fall outside the range [min(),max()], the value returned differs from the true value by an integer multiple of max() - min() + 1. On most machines, this is false for floating types, true for unsigned integers, and true for signed integers. See PR22200 about signed integers.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |