libstdc++
|
#include <limits>
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 |
Part of std::numeric_limits.
The static
const
members are usable as integral constant expressions.
|
staticconstexpr |
The number of radix
digits that be represented without change: for integer types, the number of non-sign bits in the mantissa; for floating types, the number of radix
digits in the mantissa.
Definition at line 218 of file limits.
Referenced by std::generate_canonical(), std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::operator()(), std::operator<<(), and std::linear_congruential_engine< uint_fast32_t, 16807UL, 0UL, 2147483647UL >::seed().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
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.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |