re PR libstdc++/40123 (Revision 147395 failed libstc++ tests)

2009-05-14  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40123
	* random.tcc (independent_bits_engine<>::operator()()): Use
	result_type(1), not 1UL.

	* random.tcc (independent_bits_engine<>::operator()()): Use _M_b.max()
	and _M_b.min(), instead of this->max() and this->min().

	* random.h (_ShiftMin1): Remove, adjust everywhere.

	* random.tcc: Minor cosmetic changes.

From-SVN: r147538
This commit is contained in:
Paolo Carlini 2009-05-14 17:56:17 +00:00 committed by Paolo Carlini
parent 61c273538b
commit 6855fe452e
3 changed files with 47 additions and 53 deletions