OSDN Git Service

2009-05-14 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 May 2009 17:56:17 +0000 (17:56 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 May 2009 17:56:17 +0000 (17:56 +0000)
commitf39228936b27925368f7d4539ebb1553b2ddd108
treefd1db376ec9e7ccccb57b4703e5a574c1e47ea0f
parent8d27c5b50d5e17c2e5183af65306b5542cea43d8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147538 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.h
libstdc++-v3/include/bits/random.tcc