
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Dimov wrote:
Tiago de Paula Peixoto:
In any case, uniform_int<> and uniform_smallint<> are quite broken, if they can't be uniform for such a small range.
They are (quite broken).
http://lists.boost.org/Archives/boost/2008/01/132347.php http://lists.boost.org/Archives/boost/2006/03/102027.php http://lists.boost.org/Archives/boost/2004/08/70611.php http://lists.boost.org/Archives/boost/2006/08/108839.php
Unfortunately, Jens Maurer has stopped maintaining Boost.Random, and random numbers are tricky enough so noone else with the sufficient expertise has taken over.
Well, I'll use tr1::random from now on, but I think there should be at least a big red warning in the documentation website about this, specially if no one will address these problems in the near future... I've been using this library for quite some time, and I had no idea that it was unmaintained. Cheers, Tiago -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoZSNoACgkQBNxGHvNv413DZgCgwRXLhGJgeM42ndIaJLlp3DSA rIEAn2O+vxernuTzV1jTyZhRohwHlmoi =wG/5 -----END PGP SIGNATURE-----