[erlang-questions] Mersenne Twister
Fri Nov 20 23:53:03 CET 2015
Aha, Jesper points out the rand namespace to me, which looks like it
provides a bunch more PRNGs as of R18. Thanks Jesper and, apparently,
Kenji et al.
On Fri, Nov 20, 2015 at 2:46 PM, Felix Gallo <> wrote:
> In 2011 there was discussion on this list around improving the stdlib
> random number generator, perhaps to join the crowd of languages using
> Mersenne Twister or a variant.
> As far as I can tell, that's about as far as anyone got; it appears that
> random:uniform() is still Wichmann-Hill, which is apparently held in low
> regard by randomness fans.
> Are there any extant plans to replace it with a more modern PRNG, such as
> MT? If they don't exist, what's the OTP team's current thoughts regarding
> the likelihood of accepting such a patch?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions