Mail Archives: djgpp-workers/1998/09/29/12:01:12
Dear DJ Delorie,
On 09-28-98 at 19:28:52 EST you wrote:
>
> Random() isn't complicated, but the math is, and it would have to be
> re-implemented from algorithms. Anyone got a good description of the
> random() algorithm, to post? Then if someone else has time, they can
> start on it.
>
> Of course, a public domain (not gnu or bsd) version of either would be
> helpful.
>
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.
Any interest?
K.B. Williams
- Raw text -