aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/src/systools.hrl
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/sasl/src/systools.hrl
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/sasl/src/systools.hrl')
0 files changed, 0 insertions, 0 deletions