Sampling bug in uniform_real (random)

Paolo Carlini paolo.carlini@oracle.com
Mon Jan 19 15:34:00 GMT 2009


Gabriel Corona wrote:
>> probability throughout the range.  The URNG should be real-valued and
>> deliver number in the range [0, 1).
>>     
>
> I didn't see this comment.
>
> I think (from TR1), any distribution should be usable with any kind of
> URNG.
>   
Then please explain exactly how you are reading 5.1.1/9.

Paolo.



More information about the Libstdc++ mailing list