Fix operator precedence in _ShiftMin1.
Ed Smith-Rowland
3dw4rd@verizon.net
Sat Apr 4 00:57:00 GMT 2009
Smith-Rowland, Edward M wrote:
> All,
>
> The following fixes a bonehead mistake in operator precedence in
> the _ShiftMin1 tool used by mersenne_twister_engine and others.
>
> I think this might be obvious and may be the source of other mistakes.
>
> I am bootstrapping and regtesting now but this might be obvious.
>
> Ed
>
>
All,
There was one mistake left:
Change this:
__gnu_cxx::__numeric_traits<_UIntType>::max;
to this:
__gnu_cxx::__numeric_traits<_UIntType>::__max;
Add two underscores to max.
Here is the new patchlet.
This doesn't really have much to do with 39629. Sorry for the noise.
Ed
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: random.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090404/c425a359/attachment.ksh>
More information about the Libstdc++
mailing list