www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/29/20:53:34

Sender: nate AT cartsys DOT com
Message-ID: <36117F93.B0830922@cartsys.com>
Date: Tue, 29 Sep 1998 17:47:15 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: DJ Delorie <dj AT backup DOT delorie DOT com>
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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019