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 re PR libstdc++/47662 (-fno-operator-names no longer works with STL headers) 2011-02-12 18:35:59 +00:00
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 47628.cc: Do not test in C++0x mode. 2011-02-10 17:43:51 +00:00
24_iterators stl_iterator.h: Add move_iterator operators overloads to make it robust to template abuses. 2010-12-08 01:23:41 +00:00
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 PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
28_regex re PR libstdc++/47724 ([C++0x] Regex string anchors cause segfault) 2011-02-17 01:47:21 +00:00
29_atomics atomic: Remove atomic_address, uplift to N3225. 2011-02-16 19:01:51 +00:00
30_threads future (packaged_task::operator bool): Rename to... 2011-02-09 23:17:05 +00:00
abi Update expected demangler output. 2010-11-18 05:24:00 -08:00
backward Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
data Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
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 extract_symvers.pl: New file. 2010-12-01 13:55:16 +00:00
libstdc++-dg conformance.exp: Apply check_v3_target_fileio as a gate for tests in subdirectories matching the... 2010-10-07 21:44:36 +00:00
performance [multiple changes] 2010-09-14 10:27:36 +00:00
tr1 [multiple changes] 2011-02-12 18:30:50 +00:00
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