gcc/libstdc++-v3/testsuite/26_numerics
Ed Smith-Rowland 1c4ff014fe PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...>
2014-07-29  Ed Smith-Rowland  <3dw4rd@verizon.net>

	PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...>
	* include/bits/random.h (_Adaptor): static_assert for non floating-point
	result type.
	* include/bits/random.tcc (generate_canonical): Ditto.
	* include/ext/random.tcc (hypergeometric_distribution::operator()):
	Use double as a rng result type.
	* testsuite/26_numerics/random/pr60037-neg.cc: New.
	* testsuite/ext/random/hypergeometric_distribution/pr60037.cc: New.

From-SVN: r213207
2014-07-29 14:56:45 +00:00
..
accumulate Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
adjacent_difference Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
complex Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
headers re PR libstdc++/60793 (Add target *-*-dragonfly* to dg-options on 172 libstdc++ tests) 2014-05-23 11:19:20 +01:00
inner_product Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
iota Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
partial_sum Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
random PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...> 2014-07-29 14:56:45 +00:00
slice Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
slice_array Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
valarray Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00