What are good PRNG for calculators?
|
11-05-2014, 09:37 PM
Post: #29
|
|||
|
|||
RE: What are good PRNG for calculators?
Here is a small program to "display" random numbers on the screen of the HP PRIME...
Code:
This program can't assure you that your PRNG program is a good one, but it can show you that it is bad ;D for example FP(123*R) Don't forget to initialise R with a 0.xxxxxxx number , then : PRNG_DSP(10000) or TIME(PRNG_DSP(10000)) to evaluate the complexity of the algorithm |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)