aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gb_sets.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-03-28 16:38:57 +0200
committerSverker Eriksson <[email protected]>2011-03-28 19:08:49 +0200
commitb52a2170d13fe7ff6e4e3b146b63d8f68c2aaadf (patch)
tree65e17f5ad014584b327ac49dcf47e37f05f87d4b /lib/stdlib/src/gb_sets.erl
parentc50f179a15ad8c8bcbc7a71101a9ca23f19f6e8f (diff)
downloadotp-b52a2170d13fe7ff6e4e3b146b63d8f68c2aaadf.tar.gz
otp-b52a2170d13fe7ff6e4e3b146b63d8f68c2aaadf.tar.bz2
otp-b52a2170d13fe7ff6e4e3b146b63d8f68c2aaadf.zip
Improve algorithm in module random.
Avoid seed values that are even divisors of the primes and by that prevent getting seeds that are stuck on zero. Example: random:seed(0,0,0) would produce a series of only zeros.
Diffstat (limited to 'lib/stdlib/src/gb_sets.erl')
0 files changed, 0 insertions, 0 deletions