Home
last modified time | relevance | path

Searched refs:_Max (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/libcxx/include/__random/
H A Dshuffle_order_engine.h72 static const result_type _Max = _Engine::_Max;
75 static _LIBCPP_CONSTEXPR const result_type _Max = _Engine::max();
77 static_assert(_Min < _Max, "shuffle_order_engine invalid parameters");
81 static _LIBCPP_CONSTEXPR result_type max() { return _Max; }
83 static _LIBCPP_CONSTEXPR const unsigned long long _Rp = _Max - _Min + 1ull;
178 (__uratio<_Np, _Dp>::num > 0xFFFFFFFFFFFFFFFFull / (_Max - _Min)),
188 __uratio<_Np, _Dp>::num <= 0xFFFFFFFFFFFFFFFFull / (_Max - _Min),
H A Drandom_device.h52 static _LIBCPP_CONSTEXPR const result_type _Max = 0xFFFFFFFFu; variable
57 static _LIBCPP_CONSTEXPR result_type max() { return _Max;} in max()
H A Dsubtract_with_carry_engine.h79 static _LIBCPP_CONSTEXPR const result_type _Max = __w == _Dt ? result_type(~0) : variable
81 static_assert(_Min < _Max, "subtract_with_carry_engine invalid parameters");
90 static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
187 __x_[__i] = static_cast<result_type>(__e() & _Max); in seed()
203 (__e0 + ((uint64_t)__e() << 32)) & _Max); in seed()
219 __x_[__i] = static_cast<result_type>(__ar[__i] & _Max); in __seed()
235 (__ar[2 * __i] + ((uint64_t)__ar[2 * __i + 1] << 32)) & _Max); in __seed()
247 __xr = (__xs - __xr - __c_) & _Max; in operator()
H A Dmersenne_twister_engine.h100 static_assert(_Min < _Max, "mersenne_twister_engine invalid parameters");
101 static_assert(__a <= _Max, "mersenne_twister_engine invalid parameters");
102 static_assert(__b <= _Max, "mersenne_twister_engine invalid parameters");
103 static_assert(__c <= _Max, "mersenne_twister_engine invalid parameters");
104 static_assert(__d <= _Max, "mersenne_twister_engine invalid parameters");
105 static_assert(__f <= _Max, "mersenne_twister_engine invalid parameters");
124 static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
214 __lshift(result_type __x) {return (__x << __count) & _Max;}
339 __x_[0] = __sd & _Max; in seed()
357 __x_[__i] = static_cast<result_type>(__ar[__i] & _Max); in __seed()
[all …]
H A Dindependent_bits_engine.h61 static const _Working_result_type _Rp = _Engine::_Max - _Engine::_Min
85 static _LIBCPP_CONSTEXPR const result_type _Max = __w == _Dt ? result_type(~0) : variable
87 static_assert(_Min < _Max, "independent_bits_engine invalid parameters");
93 static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
H A Ddiscard_block_engine.h47 static const result_type _Max = _Engine::_Max; variable
50 static _LIBCPP_CONSTEXPR const result_type _Max = _Engine::max();
H A Dgenerate_canonical.h36 const size_t __logR = __log2<uint64_t, _URNG::_Max - _URNG::_Min + uint64_t(1)>::value; in generate_canonical()
H A Dlinear_congruential_engine.h222 static _LIBCPP_CONSTEXPR const result_type _Max = __m - _UIntType(1u);
223 static_assert(_Min < _Max, "linear_congruential_engine invalid parameters");
232 static _LIBCPP_CONSTEXPR result_type max() {return _Max;}
H A Duniform_int_distribution.h59 static const _Working_result_type _Rp = _Engine::_Max - _Engine::_Min
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dshuffle.h41 static const result_type _Max = 0xFFFFFFFF; variable
50 static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
80 static const result_type _Max = 0xFFFFFFFF; variable
88 static _LIBCPP_CONSTEXPR result_type max() {return _Max;} in max()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.ibits/
H A Dresult_type.pass.cpp39 static const result_type _Max = Max; member in rand1
H A Deval.pass.cpp37 static const result_type _Max = Max; member in rand1
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/
H A Dresult_type.pass.cpp39 static const result_type _Max = Max; member in rand1
H A Deval.pass.cpp37 static const result_type _Max = Max; member in rand1
/llvm-project-15.0.7/libcxx/include/
H A Dthread372 _LIBCPP_CONSTEXPR chrono::duration<long double> _Max =
375 if (__d < _Max)