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 PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
seed_seq PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
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 PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
knuth_b.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
minstd_rand.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
minstd_rand0.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
mt19937.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
mt19937_64.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
ranlux24.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
ranlux24_base.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
ranlux48.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00
ranlux48_base.cc PR libstdc++/40912 (final) 2009-08-02 23:35:41 +00:00