[Bug libstdc++/33128] std::tr1::uniform_int returns value out of range

paolo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 28 08:48:00 GMT 2007



------- Comment #2 from paolo at gcc dot gnu dot org  2007-08-28 08:48 -------
Subject: Bug 33128

Author: paolo
Date: Tue Aug 28 08:48:24 2007
New Revision: 127849

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127849
Log:
2007-08-28  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/33128
        * include/tr1_impl/random (uniform_int<>::_M_call): Deal with
        __urng() returning negative values.
        * testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
        New.

Added:
   
trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/tr1_impl/random


-- 


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



More information about the Gcc-bugs mailing list