HP41C random number generator help
|
12-05-2017, 12:30 PM
Post: #10
|
|||
|
|||
RE: HP41C random number generator help
A good and simple algorithm (used by HP since the HP-65 Stat Pacs) is:
r = frac(997 * r) Code: LBL "RAND" In my HHC2017 presentation about PRNGs, I pointed out that the above legacy algorithm is recommended for its speed, simplicity, and relatively good results for calculators. Namir |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)