On Tue, Feb 04, 2003 at 14:00:27 +0100, Dag-Erling Smorgrav wrote: > David Schultz <[EMAIL PROTECTED]> writes: > > You can do better than the present generator with 32 bits of state. > > See the following page by Neal Wagner (not to be confused with David Wagner): > > http://www.cs.utsa.edu/~wagner/laws/rng.html > > The attached patch, based on one of the m/k pairs suggested on that > page, results in the following:
I just think about 62089911 and 48271 too :-) There is one bug in your patch: 0 is still illegal, so my fix required. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message