nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Need to create a random number generator class #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Simple RNG

Original issue reported on code.google.com by nin...@gmail.com on 19 Dec 2011 at 9:02

GoogleCodeExporter commented 9 years ago
Done - added to MUtils, based on 
http://en.wikipedia.org/wiki/Random_number_generation

Original comment by nin...@gmail.com on 19 Dec 2011 at 9:12

GoogleCodeExporter commented 9 years ago
Correction: changed to a Linear congruential generator based on: 
http://en.wikipedia.org/wiki/Linear_congruential_generator

Original comment by nin...@gmail.com on 19 Dec 2011 at 9:13