gcc/libstdc++-v3/testsuite
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
..
17_intro
18_support required.cc: New. 2011-02-25 00:57:45 +00:00
19_diagnostics gnu.ver: Add base destructors for stdexcept classes. 2011-03-16 16:05:45 +00:00
20_util shared_ptr.h (operator>, [...]): Add, per DR 1401. 2011-03-22 15:15:03 +00:00
21_strings moveable2.cc: Tweak Copyright years. 2011-03-24 15:57:57 +00:00
22_locale 14220.cc: Don't xfail on sparc*-sun-solaris2.10 && lp64. 2011-03-21 13:38:19 +00:00
23_containers
24_iterators
25_algorithms [multiple changes] 2011-03-09 18:30:11 +00:00
26_numerics random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
27_io
28_regex
29_atomics
30_threads
abi
backward
config
data
decimal mixed-mode-arith_neg.cc: Rename from mixed-mode_neg.cc 2011-03-18 15:54:32 -04:00
ext Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
lib prune.exp (prune_gcc_output): Prune "could not create compact unwind for" warnings. 2011-03-21 19:13:05 +00:00
libstdc++-abi
libstdc++-dg
performance
tr1
util random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
Makefile.am Makefile.am: Make clean fixups. 2011-03-02 23:32:56 +00:00
Makefile.in re PR libstdc++/47145 (configure test for docbook-xsl-ns stylesheets uses hardcoded path) 2011-03-08 00:04:05 +00:00