Information on calculator Random Number Generators from PPC Journal articles
|
11-13-2016, 10:09 PM
Post: #30
|
|||
|
|||
RE: Information on calculator Random Number Generators from PPC Journal articles
Ok, so for newseed = FRC (PI + Seed) ^ 5 how does this look to save as much of the stack as we can? Assumes seed is already in 00. FEEL free to condense. This preserves X, Y, Z in Y, Z and T. The original T and L are lost.
LBL R PI ST+ 00 X<> 00 STO 00 X^2 X^2 X<> 00 ST* 00 X<> 00 FRC STO 00 END |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)