gcc/libstdc++-v3/include
Marc Glisse cf48c25519 re PR libstdc++/51795 (linear_congruential_engine doesn't work correctly)
2012-04-29  Marc Glisse  <marc.glisse@inria.fr>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/51795
	* include/bits/stl_algobase.h (__lg<>(_Size)): Remove.
	(__lg(int), __lg(unsigned), __lg(long), __lg(unsigned long),
	__lg(long long), __lg(unsigned long long)): Define constexpr.
	* include/bits/random.h (_Mod<>): Overcome Schrage's algorithm
	limitations.
	(__mod): Adjust.
	(linear_congruential): Remove FIXME static_assert.
	* include/bits/random.tcc (_Mod<>): Adjust.
	* testsuite/26_numerics/random/linear_congruential_engine/operators/
	51795.cc: New.

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>

From-SVN: r186948
2012-04-29 23:36:09 +00:00
..
backward binders.h: Fix examples in doxygen comments and suggest using std::bind instead. 2011-11-20 21:14:56 +00:00
bits re PR libstdc++/51795 (linear_congruential_engine doesn't work correctly) 2012-04-29 23:36:09 +00:00
c
c_compatibility
c_global Remove obsolete Solaris 8 support 2012-03-14 17:08:03 +00:00
c_std cstdio: Remove extraneous extern. 2012-03-02 16:44:50 +00:00
debug forward_list (forward_list::splice_after): Check allocators are equal. 2012-04-22 14:27:16 +01:00
decimal
ext alloc_traits.h (__alloc_traits::difference_type): Define. 2012-04-22 15:38:33 +01:00
parallel PR libstdc++/51798 continued 2012-02-13 13:30:31 -08:00
precompiled stdc++.h: Add cstdalign. 2011-11-08 01:02:06 +00:00
profile PR libstdc++/52317 (cont) 2012-02-21 21:30:26 +00:00
std functional (function::function(F)): LWG 2132: Disable constructor if argument isn't callable. 2012-04-29 23:59:37 +01:00
tr1 Remove obsolete Solaris 8 support 2012-03-14 17:08:03 +00:00
tr2 type_traits (typelist): To __reflection_typelist. 2012-03-02 05:54:24 +00:00
Makefile.am [multiple changes] 2012-03-19 23:48:16 +00:00
Makefile.in [multiple changes] 2012-03-19 23:48:16 +00:00