Simulating 15C RAN # on 35s
|
02-14-2015, 05:13 PM
(This post was last modified: 02-15-2015 08:01 AM by Tugdual.)
Post: #1
|
|||
|
|||
Simulating 15C RAN # on 35s
This 35s program will return the exact same RAN # values as the 15C (Don't even ask me why I did that...). Fun fact: the seed 0.8603685347 returns zero
Algo: RND(n+1) = Frac(1574352261*RND(n) + 0.1017980433) The challenge is to compute this with only 14 digits on the mantisse. On the 34s with D mode, you get instantly the result :-). Usage: Enter a SEED and then XEQ A Press R/S for next RAN# values Notes: IP is obtained with Left shift INTG 6 FP is obtained with Left shift INTG 5 Code: A001 LBL A |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)