[erlang-questions] Mersenne Twister

Felix Gallo felixgallo@REDACTED
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.

F.

On Fri, Nov 20, 2015 at 2:46 PM, Felix Gallo <felixgallo@REDACTED> 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?
>
> F.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151120/ff5e7ceb/attachment.htm>


More information about the erlang-questions mailing list