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 14340.cc: Abstract list type. 2009-05-20 04:05:21 +00:00
debug libstdc++.exp ([check_v3_target_debug_mode]): Fix so that it really detects when debug mode is activated. 2010-09-03 18:10:46 +00:00
exception stl_tree.h (_Rb_tree<>::_M_erase_aux): Add. 2010-11-08 16:07:32 +00:00
hash_fn Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
io Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
native_type Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
performance Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
regression c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
statistic Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
thread Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
replacement_memory_operators.h remove_freed.cc: Fix test01 return type to void. 2010-08-31 17:24:39 +00:00
testsuite_abi_check.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
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 extract_symvers: Add support for tracking TLS symbols. 2010-10-01 17:10:38 +00:00
testsuite_allocator.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_allocator.h testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00
testsuite_api.h re PR libstdc++/32618 (std::vector calls uneccessary constructors instead of inplace construction of first object) 2010-06-18 18:07:45 +00:00
testsuite_character.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_character.h re PR libstdc++/45628 (std::fstream::tellg invalidates I/O buffer) 2010-09-22 19:40:43 +00:00
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 [multiple changes] 2010-09-29 11:56:34 +00:00
testsuite_containers.h array (array): Add pointer and const_pointer typedefs in C++0x mode, per DR 1306. 2010-02-19 18:55:40 +00:00
testsuite_error.h re PR c++/42844 (const variable requires initializer / no explicitly declared default constructor) 2010-04-27 14:56:13 -04:00
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_iterators.h: Don't include <cstddef>, don't use NULL, use std::size_t and std::ptrdiff_t. 2010-06-03 23:11:46 +00:00
testsuite_hooks.h [multiple changes] 2010-06-26 20:11:20 +00:00
testsuite_io.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
testsuite_iterators.h testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00
testsuite_performance.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_rvalref.h [multiple changes] 2011-03-09 18:30:11 +00:00
testsuite_shared.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_tr1.h user.cfg.in: Remove tr1_impl headers. 2010-11-05 22:30:54 +00:00