Sender: nate AT cartsys DOT com Message-ID: <36117F93.B0830922@cartsys.com> Date: Tue, 29 Sep 1998 17:47:15 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: DJ Delorie CC: Kbwms AT aol DOT com, djgpp-workers AT backup DOT delorie DOT com Subject: Re: Proposed New Random References: <199809291602 DOT MAA20294 AT indy DOT delorie DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit DJ Delorie 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. > > 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. Do we actually have to duplicate the algorithm, or just the weird multitype initstate etc. interface? -- Nate Eldredge nate AT cartsys DOT com