Mail Archives: djgpp-workers/1998/10/08/11:09:16
On Tue, 29 Sep 1998 Kbwms AT aol DOT com wrote:
> 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.
First, we need to be sure this code can be freely distributed under
DJ's license. Sometimes universities are picky about this and might
require some blurb like what BSD did--which will return us back to
square one.
And second, one of the most valuable features of `random' is that all
its bits, inluding the LSB's, are random, so you could get a random
bit with "random() % 2". Does your algorithm have this feature?
- Raw text -