------- Comment #5 from paolo at gcc dot gnu dot org  2009-05-14 17:56 -------
Subject: Bug 40123

Author: paolo
Date: Thu May 14 17:56:17 2009
New Revision: 147538

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147538
Log:
2009-05-14  Paolo Carlini  <paolo.carl...@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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/random.h
    trunk/libstdc++-v3/include/bits/random.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40123

Reply via email to