gcc/libstdc++-v3/testsuite/26_numerics/random
Marc Glisse cf48c25519 re PR libstdc++/51795 (linear_congruential_engine doesn't work correctly)
2012-04-29  Marc Glisse  <marc.glisse@inria.fr>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/51795
	* include/bits/stl_algobase.h (__lg<>(_Size)): Remove.
	(__lg(int), __lg(unsigned), __lg(long), __lg(unsigned long),
	__lg(long long), __lg(unsigned long long)): Define constexpr.
	* include/bits/random.h (_Mod<>): Overcome Schrage's algorithm
	limitations.
	(__mod): Adjust.
	(linear_congruential): Remove FIXME static_assert.
	* include/bits/random.tcc (_Mod<>): Adjust.
	* testsuite/26_numerics/random/linear_congruential_engine/operators/
	51795.cc: New.

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>

From-SVN: r186948
2012-04-29 23:36:09 +00:00
..
bernoulli_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
binomial_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
cauchy_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
chi_squared_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
discard_block_engine re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
discrete_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
exponential_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
extreme_value_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
fisher_f_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
gamma_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
geometric_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
independent_bits_engine re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
linear_congruential_engine re PR libstdc++/51795 (linear_congruential_engine doesn't work correctly) 2012-04-29 23:36:09 +00:00
lognormal_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
mersenne_twister_engine re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
negative_binomial_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
normal_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
piecewise_constant_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
piecewise_linear_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
poisson_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
random_device
seed_seq
shuffle_order_engine re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
student_t_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
subtract_with_carry_engine re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
uniform_int_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
uniform_real_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
weibull_distribution Add testsuite checks for param_type in the <random> distributions. 2012-02-23 02:25:00 +00:00
default_random_engine.cc
knuth_b.cc
minstd_rand.cc
minstd_rand0.cc
mt19937.cc
mt19937_64.cc
ranlux24.cc
ranlux24_base.cc
ranlux48.cc
ranlux48_base.cc