Subject: Re: [boost] [random] Quantization effects in generating floating point values
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-05 14:06:28
On 03/05/2015 11:57 AM, John Maddock wrote:
>>>> You're using the old interface to uniform_01 here,
>>>> which is deprecated because it is inconsistent
>>>> with the rest of the distributions.
>>> Understood. However there's nothing in the docs to say it's deprecated.
>> Nothing in the documentation indicates that
>> this works at all.
> Sorry, I don't understand - the class is documented, so why wouldn't it
There's nothing wrong with using uniform_01,
but the declaration is:
template<typename RealType = double>
template<typename Engine, typename RealType>
which is what you used.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk