Re: TIB: Randseed theory for 92+


[Prev][Next][Index][Thread]

Re: TIB: Randseed theory for 92+




Thank you all for your input.  My theory is disproven.  when the manual said
"factory defaults" i was hoping randseed 0 would be different for each calc,
but to no avail.  As far as that pseudo-random algorithm, i don't think its
necessary to know it, so don't strain yourself.  btw, i like those
scientific terms (i.e. "whacked out").

I think the manual uses 1147 because when they wrote the scripts, they typed
rand(5000) and got 1147, so they decided to use that in the manual's
examples.  (I don't think this is true, but it sounded good)

-----Original Message-----
From: RichardCry@aol.com <RichardCry@aol.com>
To: ti-basic@lists.ticalc.org <ti-basic@lists.ticalc.org>
Date: Monday, January 25, 1999 12:43 AM
Subject: Re: TIB: Randseed theory for 92+


>
>Random is not "true randomized" it's "pseudo-randomized."  It goes through
>calculations based on principle math and simplifies a curve of sorts and
hits
>all the numbers.  Eventually (after about 5 million tries) the numbers
repeat.
>When you "Randseed #" it stores # into "seed2" and stores # times 40014
>modulos of some wacked number like 5 million or whatever in "seed1."  It
then
>uses a calculation to generate new seed values based on the old seed values
>using the same 40014 number and the modulus.  I had (can't find now) the
exact
>formula for pseudo-random numbers, but I only know the glimpses now.  If
>someone REALLY wants to know the EXACT formula, I will redo the research
and
>post it here, else I won't.
>
>-|2-
>
>