Post Reply 
Information on calculator Random Number Generators from PPC Journal articles
11-11-2016, 09:02 PM
Post: #15
RE: Information on calculator Random Number Generators from PPC Journal articles
(11-11-2016 08:08 PM)Pekis Wrote:  A uniform distribution is needed: for generated numbers between 0 and 1, a mean of 1/2 is expected, as well as a variance of 1/12.

This is not much of a problem, not even for the (x+pi)² generator. With 100.000 random numbers the mean is about 0,499 and the variance ~0,087. Yes, the 997 generator comes closer to 0.5 and 0,0833 – but this does not matter much for game programs.

But there are other critera that should be considered for more sophisticated applications. Take a look at the PPC Journal article Gene posted here.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Information on calculator Random Number Generators from PPC Journal articles - Dieter - 11-11-2016 09:02 PM



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