Date: Fri, 30 Aug 1996 09:58:26 +0000 ( ) From: Gurunandan R Bhat To: William Tanksley Cc: djgpp AT delorie DOT com Subject: Re: random() and rand() question In-Reply-To: <504u45$e83@sdcc12.ucsd.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 29 Aug 1996, William Tanksley wrote: > In article <3225ABDD DOT 7AF48E03 AT alcyone DOT com> Erik Max Francis writes: > >J.J. Pierson wrote: > > >> Silly question... How would I go about getting a random number from say 1 > >> to a specified number? > > > A better plan in certain circumstances is to either use a different RNG > (RC4 is wonderful, and very simple) > If it was up to me, I'd use RC4. I've developed a distrust of > congruential RNGs, even Berkeley's random(). > > >Erik Max Francis, &tSftDotIotE http://www.alcyone.com/max/ max AT alcyone DOT com > > -Billy > could you post some details about rc4. where could i get it, for example. thanks gurunandan bhat goa university goa, india