Message-ID: <19971016224313.2477.qmail@hotmail.com> From: "John Patton" To: djgpp AT delorie DOT com Subject: Re: Random numbers again... Content-Type: text/plain Date: Thu, 16 Oct 1997 15:43:13 PDT Precedence: bulk >From: Charles Krug >Subject: Re: Random numbers again... >Date: Wed, 15 Oct 1997 09:11:13 -0400 >To: djgpp AT delorie DOT com > >amit wrote: > >> one comment : using only hundreds of seconds as seed in many cases might >> not be good enough - if you run your program more than 100 times you'r >> bound >> to have (at least) two identical runs. > >I suggest you get "Numerical Recipies in C" from your library (or buy it, its >worth having if you do any numerical computing). There is a discussion of >various forms of RNGs, standards for judging, creating one w/ a long period >(2^32, under djgpp) and various forms. > >-- >Charles Krug, Jr. >Application Engineer >Pentek Corp >1 Park Way >Upper Saddle River, NJ 07458 Hi, I actually prefer Algorithms in C by Sedgewick. -John ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com