Andrey A. Chernov
848422bb7d
srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
...
change of high word part too to produce more interesting seed distribution.
2001-04-23 10:14:28 +00:00
Andrey A. Chernov
7708205cb7
Add sranddev() since srand() is not vary much with seed, typical time
2001-04-23 02:29:10 +00:00
Andrey A. Chernov
cbcf73f998
Use formula with better random distribution for rand()
...
Even better formula from random() could not be intetgrated because rand_r()
supposed to store its state in the single variable (but table needed for
random() algorithm integration).
2001-02-27 14:42:19 +00:00
Wes Peters
b7edcd43b5
Added Posix rand_r function.
1999-05-24 23:30:14 +00:00
Rodney W. Grimes
58f0484fa2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00