Boost logo

Boost Users :

Subject: Re: [Boost-users] [random] Bias in boost::random generators?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-30 13:18:47


AMDG

Tiago de Paula Peixoto wrote:
> -----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...
>

uniform_int is now fixed in the trunk.

In Christ,
Steven Watanabe


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