4K HP 67 Games rom attached for testing
|
11-01-2016, 10:22 PM
Post: #60
|
|||
|
|||
RE: 4K HP 67 Games rom attached for testing
(11-01-2016 09:37 PM)Gene Wrote: The algorithm is: New Seed = Fraction ( 9821 x Old Seed + 0.211327 ) OK, that's the one I know from my first HP calculator's manual, the 34C. But this RNG can only generate about one million different values. (11-01-2016 09:37 PM)Gene Wrote: Used in the PPC ROM and many earlier programs in the PPC Journal. Has a longer cycle between repeating and doesn't have the problems that the RCL 00 PI + style generators do. What problems does this algorithm have? (11-01-2016 09:37 PM)Gene Wrote: The algorithm of New Seed = Fraction (997 x Old Seed) is pretty good as well. But it requires a seed with a fractional part > 0. (11-01-2016 09:37 PM)Gene Wrote: Angel and I had already been talking about saving a bit of space by using the mcode function here so I think it would be available and work. Does this mean we will have a RAND function (as well as SEED)? Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)