PRNG algorithm
Started by: a0ua0u
On: 1256616661|%e %b %Y, %H:%M %Z|agohover
Number of posts: 4
rss icon RSS: New posts
PRNG algorithm
a0ua0u 1256616661|%e %b %Y, %H:%M %Z|agohover

Hi,

I'm interested in how the "rand" function is implemented in TI-83+/84+ calculators. I've looked over the algorithms described in L'Ecuyer's 1988 paper, but I couldn't find much information online about which constants are actually used in the TI calculators. Also, how are the individual seeds (e.g., s1, s2) for the MLCGs determined from the user-supplied seed?

Any info would be greatly appreciated. Thanks in advance.

unfold PRNG algorithm by a0ua0u, 1256616661|%e %b %Y, %H:%M %Z|agohover
Re: PRNG algorithm
thornahawkthornahawk 1256651387|%e %b %Y, %H:%M %Z|agohover

There is a description of the method of L'Ecuyer in the 68k rand page (the same algorithm is used in the Z80 calculators).

Also I presume you've encountered this already?

thornahawk

unfold Re: PRNG algorithm by thornahawkthornahawk, 1256651387|%e %b %Y, %H:%M %Z|agohover
Re: PRNG algorithm
ztrumpetztrumpet 1256680788|%e %b %Y, %H:%M %Z|agohover

And this:
http://mpl.unitedti.org/?p=40


Projects (in order of priority) : Gravity Dude 30% Escape 15%

United Ti: http://www.unitedti.org/index.php?act=idx

unfold Re: PRNG algorithm by ztrumpetztrumpet, 1256680788|%e %b %Y, %H:%M %Z|agohover
Re: PRNG algorithm
a0ua0u 1256774756|%e %b %Y, %H:%M %Z|agohover

I saw the 68k page but wasn't sure if it was applicable. Thanks for the link.

unfold Re: PRNG algorithm by a0ua0u, 1256774756|%e %b %Y, %H:%M %Z|agohover
New post