Home
last modified time | relevance | path

Searched refs:LCE (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/
Dvalues.pass.cpp35 typedef std::linear_congruential_engine<T, a, c, m> LCE; in test1() typedef
36 typedef typename LCE::result_type result_type; in test1()
37 static_assert((LCE::multiplier == a), ""); in test1()
38 static_assert((LCE::increment == c), ""); in test1()
39 static_assert((LCE::modulus == m), ""); in test1()
40 /*static_*/assert((LCE::min() == (c == 0u ? 1u: 0u))/*, ""*/); in test1()
41 /*static_*/assert((LCE::max() == result_type(m - 1u))/*, ""*/); in test1()
42 static_assert((LCE::default_seed == 1), ""); in test1()
43 where(LCE::multiplier); in test1()
44 where(LCE::increment); in test1()
[all …]
Ddefault.pass.cpp24 typedef std::linear_congruential_engine<T, a, c, m> LCE; in test1() typedef
25 typedef typename LCE::result_type result_type; in test1()
26 LCE e1; in test1()
27 LCE e2; in test1()