Re: A82: Random function


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

Re: A82: Random function




In a message dated 98-04-03 19:58:37 EST, you write:

> This e-mail is probably best addressed to Dines, Hideaki, or Jeff
>  (Barubary), but what the hell. I'm just curious about the built-in random
>  function (y'know, "rand"). How does the calc generate the random number?
>  Does it use a timer like the apd or something? Just wondering...

it uses a randseed, which you can modify via ti-os through "[number] -> rand"
here's a test:
store 0 to rand (0->rand)
type "rand" (in the math menu) and press enter twice
repeat and you will get the same results.

~Adamman