Re: Pseudo random binary number gen
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Dec 23, 1999
- 490 views
yeah, pnrnd() produces 5,6,4,5,76,232,64,54,6,232,4,56,32,32,5,55,4,4 and the sequence we want is 232,64,54,6 it returns 123(seed) and 6(offset) then we can feed 123,6 to it(on another computer) and it will give 232,64,54,6,232,4,56,32,32,5,55,4,4 It need to return only one number every time it is called..thats how i a geting rid of needing a length of the returned sequence... >From: "Lucius L. Hilley III" <lhilley at CDC.NET> >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> >To: EUPHORIA at LISTSERV.MUOHIO.EDU >Subject: Re: Pseudo random binary number gen >Date: Thu, 23 Dec 1999 09:57:48 -0500 > > Let me get this straight. You want a generator that when a >set of numbers are given to the generator, the generator gives >a different set of numbers. And when that different set of >numbers are given to the generator, the original set comes back >out of the generator. > > Lucius L. Hilley III > lhilley at cdc.net >+----------+--------------+--------------+ >| Hollow | ICQ: 9638898 | AIM: LLHIII | >| Horse +--------------+--------------+ >| Software | http://www.cdc.net/~lhilley | >+----------+-----------------------------+ > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com