New Lagged Fib. PRNG gen and random2.d

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Aug 28 09:48:27 PDT 2013


On 27/08/13 20:41, monarch_dodra wrote:
> The BAD news though, is that it would appear the floating point generation on
> linux is *bad*. As in, so bad, it's faster to just generate integrals and
> divide. Arguably, I think the "native" double generation might be of slightly
> higher quality, but I don't think it is worth the cost.

"Bad" is a relative term.  It might be slower, but you might (I don't know) be 
getting something that has better statistical quality.  So, what you might 
prefer to use depends on your use-case.


More information about the Digitalmars-d mailing list