Post Reply 
Good news for PPC Random-Number Generator
05-17-2021, 11:50 PM (This post was last modified: 05-18-2021 01:02 AM by Valentin Albillo.)
Post: #8
RE: Good news for PPC Random-Number Generator
.
That simple algorithm produces exactly one million pseudo-random integers from 0 to 999999 (or from 0.000000 to 0.999999). After that, it simply repeats the same sequence, which is fine for games and such. I used it to generate 1,000,000 user-selectable random palettes for my Fractval program.

On the other hand, the HP-71B RND function provides a trillion rng's before repeating and passes the Spectral test, which is adequate for serious purposes. Just a one-million period is too few for that, the longer the period the better.

V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Good news for PPC Random-Number Generator - Valentin Albillo - 05-17-2021 11:50 PM



User(s) browsing this thread: 1 Guest(s)