Rnd
From Maze
(Difference between revisions)
(→Survey of Random Number Algorithms) | |||
| Line 43: | Line 43: | ||
These are rather technical in nature, but can be used to contextualize the "quality" of the random number generator used in the C64 by comparing it with those used today in languages like Java and Python (need more lingos?). | These are rather technical in nature, but can be used to contextualize the "quality" of the random number generator used in the C64 by comparing it with those used today in languages like Java and Python (need more lingos?). | ||
| − | [http://random.mat.sbg.ac.at/~charly/server/node3.html specific LCG algorithms and quality] | + | [http://crypto.mat.sbg.ac.at/results/karl/server/node3.html specific LCG algorithms and quality] |
[http://en.wikipedia.org/wiki/Linear_congruential_generator LCG ] | [http://en.wikipedia.org/wiki/Linear_congruential_generator LCG ] | ||
| Line 57: | Line 57: | ||
Python uses the Mersenne Twister as the core generator. It produces 53-bit precision floats and has a period of 2**19937-1. The underlying implementation in C is both fast and threadsafe. The Mersenne Twister is one of the most extensively tested random number generators in existence. However, being completely deterministic, it is not suitable for all purposes, and is completely unsuitable for cryptographic purposes. | Python uses the Mersenne Twister as the core generator. It produces 53-bit precision floats and has a period of 2**19937-1. The underlying implementation in C is both fast and threadsafe. The Mersenne Twister is one of the most extensively tested random number generators in existence. However, being completely deterministic, it is not suitable for all purposes, and is completely unsuitable for cryptographic purposes. | ||
| − | |||
| − | |||
| − | |||
=Etymology of the Word "Random"= | =Etymology of the Word "Random"= | ||
