Lines Matching refs:__w
2011 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2053 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2069 static_assert(__w <= _Dt, "mersenne_twister_engine invalid parameters");
2070 static_assert( 2 <= __w, "mersenne_twister_engine invalid parameters");
2071 static_assert(__r <= __w, "mersenne_twister_engine invalid parameters");
2072 static_assert(__u <= __w, "mersenne_twister_engine invalid parameters");
2073 static_assert(__s <= __w, "mersenne_twister_engine invalid parameters");
2074 static_assert(__t <= __w, "mersenne_twister_engine invalid parameters");
2075 static_assert(__l <= __w, "mersenne_twister_engine invalid parameters");
2078 static _LIBCPP_CONSTEXPR const result_type _Max = __w == _Dt ? result_type(~0) :
2079 (result_type(1) << __w) - result_type(1);
2088 static _LIBCPP_CONSTEXPR const size_t word_size = __w;
2125 {__seed(__q, integral_constant<unsigned, 1 + (__w - 1) / 32>());}
2183 __count < __w,
2193 (__count >= __w),
2219 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2223 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2225 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2229 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2231 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2235 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2237 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2241 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2243 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2246 …_LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, …
2247 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2249 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2253 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2255 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2258 …_LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, …
2259 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2261 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2265 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2267 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2270 …_LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, …
2271 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2273 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2277 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2279 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2282 …_LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, …
2283 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2285 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2289 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2291 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2294 …_LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, …
2295 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2297 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2300 …_LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, …
2301 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
2303 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2307 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b,
2309 { // __w >= 2
2312 __x_[__i] = (__f * (__x_[__i-1] ^ __rshift<__w - 2>(__x_[__i-1])) + __i) & _Max;
2316 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2321 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b,
2341 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2346 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b,
2367 template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
2371 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b,
2501 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2529 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2542 static_assert( 0 < __w, "subtract_with_carry_engine invalid parameters");
2543 static_assert(__w <= _Dt, "subtract_with_carry_engine invalid parameters");
2548 static _LIBCPP_CONSTEXPR const result_type _Max = __w == _Dt ? result_type(~0) :
2549 (result_type(1) << __w) - result_type(1);
2553 static _LIBCPP_CONSTEXPR const size_t word_size = __w;
2573 {seed(__sd, integral_constant<unsigned, 1 + (__w - 1) / 32>());}
2582 {__seed(__q, integral_constant<unsigned, 1 + (__w - 1) / 32>());}
2627 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2628 _LIBCPP_CONSTEXPR const size_t subtract_with_carry_engine<_UIntType, __w, __s, __r>::word_size;
2630 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2631 _LIBCPP_CONSTEXPR const size_t subtract_with_carry_engine<_UIntType, __w, __s, __r>::short_lag;
2633 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2634 _LIBCPP_CONSTEXPR const size_t subtract_with_carry_engine<_UIntType, __w, __s, __r>::long_lag;
2636 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2637 … _LIBCPP_CONSTEXPR const typename subtract_with_carry_engine<_UIntType, __w, __s, __r>::result_type
2638 subtract_with_carry_engine<_UIntType, __w, __s, __r>::default_seed;
2640 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2642 subtract_with_carry_engine<_UIntType, __w, __s, __r>::seed(result_type __sd,
2653 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2655 subtract_with_carry_engine<_UIntType, __w, __s, __r>::seed(result_type __sd,
2670 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2673 subtract_with_carry_engine<_UIntType, __w, __s, __r>::__seed(_Sseq& __q,
2685 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2688 subtract_with_carry_engine<_UIntType, __w, __s, __r>::__seed(_Sseq& __q,
2701 template<class _UIntType, size_t __w, size_t __s, size_t __r>
2703 subtract_with_carry_engine<_UIntType, __w, __s, __r>::operator()()
2985 template<class _Engine, size_t __w, class _UIntType>
3006 static_assert( 0 < __w, "independent_bits_engine invalid parameters");
3007 static_assert(__w <= _Dt, "independent_bits_engine invalid parameters");
3024 static _LIBCPP_CONSTEXPR const size_t __n = __get_n<_Working_result_type, _Rp, __w, __m>::value;
3025 static _LIBCPP_CONSTEXPR const size_t __w0 = __w / __n;
3026 static _LIBCPP_CONSTEXPR const size_t __n0 = __n - __w % __n;
3041 static _LIBCPP_CONSTEXPR const result_type _Max = __w == _Dt ? result_type(~0) :
3042 (result_type(1) << __w) - result_type(1);
3146 template<class _Engine, size_t __w, class _UIntType>
3149 independent_bits_engine<_Engine, __w, _UIntType>::__eval(false_type)
3154 template<class _Engine, size_t __w, class _UIntType>
3156 independent_bits_engine<_Engine, __w, _UIntType>::__eval(true_type)
5054 const result_type __w = __u * (1 - __u);
5055 if (__w != 0)
5057 const result_type __y = _VSTD::sqrt(__c / __w) *
5062 const result_type __z = 64 * __w * __w * __w * __v * __v;