Sampling bug in uniform_real (random)

Gabriel Corona gabriel.corona@enst-bretagne.fr
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.

Gabriel

-------------- 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: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090119/d44e3af1/attachment.bin>


More information about the Libstdc++ mailing list