Mail Archives: djgpp-workers/1998/09/29/12:02:20
> I might be able to make a contribution here. Recently, I completed a
> paper on combined random number generators, "Quick and Portable Random
> Number Generators," with Dr. Gerald P. Dwyer, formerly with Clemson
> University and now at the Atlanta Fed. The supporting random number
> generator is very well behaved and has a period of about 2^62. This
> is certainly long enough to outlive the expected life of the universe.
rand() is a sufficiently good RNG with a long period. The random()
and srandom() functions use a particular algorithm, and we'd need to
replicate *that* algorithm.
- Raw text -