diff options
author | Cristian Greco <cristian@regolo.cc> | 2010-10-06 03:22:41 +0200 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2011-03-28 16:56:46 +0200 |
commit | c50f179a15ad8c8bcbc7a71101a9ca23f19f6e8f (patch) | |
tree | 36b49dbd477732cbf8051ee645d759d291c7619c /erts/AUTHORS | |
parent | 9f78db422a8facfaad909a656ffabeb27f8fe2fd (diff) | |
download | otp-c50f179a15ad8c8bcbc7a71101a9ca23f19f6e8f.tar.gz otp-c50f179a15ad8c8bcbc7a71101a9ca23f19f6e8f.tar.bz2 otp-c50f179a15ad8c8bcbc7a71101a9ca23f19f6e8f.zip |
Fix a bug in the implementation of the pseudo-random number generator
This commit fixes an error in the mathematical formula of the Wichmann-Hill
pseudo-random number generator. In particular, the implementation used until
now produces sequences which differ from the expected ones by an extra starting
number, which is instead the very last value of the sequence.
This bug amplified the effect of extremely correlated initial numbers when
seeding different generators with very similar seed values.
Diffstat (limited to 'erts/AUTHORS')
0 files changed, 0 insertions, 0 deletions