[erlang-questions] Implementation of a 2006 version of Wichmann-Hull random number generator for Erlang/OTP

Cristian Greco <>
Tue Nov 23 13:39:52 CET 2010


On Tue, 23 Nov 2010 20:15:42 +0900
Kenji Rikitake <> wrote:

> The random module of Erlang/OTP library uses the 1982(!)[1] version of
> Wichmann-Hull random number generator (RNG), which has been known to
> have a limitation of short cycle length (~ 7 x (10^12)).
> [...]

Hi Kenji,

the current implementation of the WH prng is Erlang is also slightly
broken. I sent a patch some weeks ago, it is still cooking in pu:

http://www.erlang.org/cgi-bin/ezmlm-cgi?3:1556
http://www.erlang.org/cgi-bin/ezmlm-cgi?3:1557

Thanks,
--
Cristian Greco
GPG key ID: 0xCF4D32E4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20101123/7d616d16/attachment.bin>


More information about the erlang-questions mailing list