gcc/libstdc++-v3/testsuite/26_numerics/random
Paolo Carlini 113b21bdaf random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd.
2011-03-24  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/random.h (negative_binomial_distribution<>::
	negative_binomial_distribution(_IntType, double),
	negative_binomial_distribution<>::
	negative_binomial_distribution(const param_type&)): Fix
	construction of _M_gd.
	* include/bits/random.tcc (negative_binomial_distribution<>::
	operator()): Fix computation, per Leger's algorithm.
	* testsuite/util/testsuite_random.h (discrete_pdf,
	negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
	(binomial_pdf): Swap last two parameters.
	* testsuite/26_numerics/random/discrete_distribution/
	operators/values.cc: New.
	* testsuite/26_numerics/random/negative_binomial_distribution/
	operators/values.cc: Likewise.
	* testsuite/26_numerics/random/poisson_distribution/
	operators/values.cc: Likewise.
	* testsuite/26_numerics/random/uniform_int_distribution/
	operators/values.cc: Likewise.
	* testsuite/26_numerics/random/binomial_distribution/
	operators/values.cc: Adjust.

From-SVN: r171411
2011-03-24 16:49:19 +00:00
..
bernoulli_distribution testsuite_random.h: New. 2011-03-18 11:48:29 +00:00
binomial_distribution random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
cauchy_distribution
chi_squared_distribution
discard_block_engine syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
discrete_distribution random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
exponential_distribution
extreme_value_distribution
fisher_f_distribution
gamma_distribution
geometric_distribution testsuite_random.h: New. 2011-03-18 11:48:29 +00:00
independent_bits_engine syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
linear_congruential_engine syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
lognormal_distribution
mersenne_twister_engine syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
negative_binomial_distribution random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
normal_distribution
piecewise_constant_distribution
piecewise_linear_distribution
poisson_distribution random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
random_device
seed_seq
shuffle_order_engine syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
student_t_distribution
subtract_with_carry_engine syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
uniform_int_distribution random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
uniform_real_distribution
weibull_distribution
default_random_engine.cc
knuth_b.cc
minstd_rand0.cc
minstd_rand.cc
mt19937_64.cc
mt19937.cc
ranlux24_base.cc
ranlux24.cc
ranlux48_base.cc
ranlux48.cc