HP41C random number generator help
|
12-08-2017, 04:26 AM
(This post was last modified: 12-08-2017 04:33 AM by Trond.)
Post: #21
|
|||
|
|||
RE: HP41C random number generator help
(12-05-2017 12:30 PM)Namir Wrote: A good and simple algorithm (used by HP since the HP-65 Stat Pacs) is:I tried a version of this while trying to avoid "bad seeds". I built a program that first checks if the variable 00 has anything above 0 beyond the fifth decimal point, and if not it adds pi, then goes on to multiply with 997, does FRC and STO 00. If 00 does have a digit at the fifth decimal it will simply do the last three steps. Looks to work fine for me, but it is no longer as simple of course. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)