Boost logo

Boost Users :

Subject: Re: [Boost-users] [random] Bias in boost::random generators?
From: Tiago de Paula Peixoto (tiago_at_[hidden])
Date: 2009-05-24 09:17:14


-----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-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net