re PR libstdc++/33128 (std::tr1::uniform_int returns value out of range)
authorPaolo Carlini <pcarlini@suse.de>
Tue, 28 Aug 2007 08:48:24 +0000 (08:48 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 28 Aug 2007 08:48:24 +0000 (08:48 +0000)
commit44d5230cc3b623e04e46b2674fbf971743e55057
treefdfa7bcdbb3cead5bed742d58588e1c4618fc51b
parent46dc0789fed233da1561e6c2ee1a4a7ab82e9fd4
re PR libstdc++/33128 (std::tr1::uniform_int returns value out of range)

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.

From-SVN: r127849
libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1_impl/random
libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc [new file with mode: 0644]