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
.
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
The machine epsilon: the difference between 1 and the least value greater than 1 that is representable.
Definition at line 333 of file limits.
Referenced by std::binomial_distribution< _IntType >::operator()(), and std::poisson_distribution< _IntType >::operator()().
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
A finite value x such that there is no other finite value y where y < x.
Definition at line 327 of file limits.
Referenced by std::normal_distribution< _RealType >::min(), std::cauchy_distribution< _RealType >::min(), std::student_t_distribution< _RealType >::min(), and std::extreme_value_distribution< _RealType >::min().
|
inlinestaticconstexprnoexcept |
The maximum finite value.
Definition at line 321 of file limits.
Referenced by std::normal_distribution< _RealType >::max(), std::lognormal_distribution< _RealType >::max(), std::gamma_distribution< _RealType >::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::binomial_distribution< _IntType >::operator()(), and std::poisson_distribution< _IntType >::operator()().
|
inlinestaticconstexprnoexcept |
The minimum finite value, or for floating types with denormalization, the minimum positive normalized value.
Definition at line 317 of file limits.
Referenced by std::bernoulli_distribution::min().
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
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.
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |