Sampling bug in uniform_real (random)

Gabriel Corona
Mon Jan 19 14:23:00 GMT 2009

In fact there are some missing things in the previous patch.

This should be slightly better but the code needs some casts
to avoid wrapping around the integers but I don't know which
cast is better.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: [libstdc++]_random_uniform_real.diff
Type: text/x-patch
Size: 1031 bytes
Desc: not available
URL: <>

More information about the Libstdc++ mailing list