next up previous
Next: Types and Structures [HB Up: Language and System Features Previous: Language and System Features

   
Random Object Generation [HB 1]

Magma V2.7 contains an implementation of the new MONSTER random number generator due to G. Marsaglia [FSU, Tallahassee, FL]. The Monster generator has period 229430 - 227382 (approximately 108859) and passes all of the stringent tests in Marsaglia's Diehard test suite (available online at http://stat.fsu.edu/pub/diehard/).

The new generator is thus very much better than the previous linear congruential generator, whose period was only 231-1 (for which the full period could be easily exhausted).


Changes:


next up previous
Next: Types and Structures [HB Up: Language and System Features Previous: Language and System Features