gcc/libstdc++-v3/testsuite/util
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
..
common_type
debug
exception stl_tree.h (_Rb_tree<>::_M_erase_aux): Add. 2010-11-08 16:07:32 +00:00
hash_fn
io
native_type
performance
regression
statistic
thread
replacement_memory_operators.h
testsuite_abi_check.cc
testsuite_abi.cc testsuite_abi.cc (check_version): Set incompatible even when adding symbols to CXXABI_1.3... 2011-03-21 20:00:52 +01:00
testsuite_abi.h
testsuite_allocator.cc
testsuite_allocator.h testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00
testsuite_api.h
testsuite_character.cc
testsuite_character.h
testsuite_common_types.h unique_ptr.h (default_delete<>::default_delete()): Declare defaulted per DR 1517. 2011-01-18 11:12:06 +00:00
testsuite_container_traits.h
testsuite_containers.h
testsuite_error.h
testsuite_greedy_ops.h stl_iterator.h: Add move_iterator operators overloads to make it robust to template abuses. 2010-12-08 01:23:41 +00:00
testsuite_hooks.cc
testsuite_hooks.h
testsuite_io.h
testsuite_iterators.h testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00
testsuite_performance.h
testsuite_random.h random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
testsuite_rng.h
testsuite_rvalref.h [multiple changes] 2011-03-09 18:30:11 +00:00
testsuite_shared.cc
testsuite_tr1.h