Constructs a MersenneTwisterEngine using the default seed.
Constructs a MersenneTwisterEngine seeded with value.
Returns the current pseudo-random value.
Advances the pseudo-random sequence.
Default seed value
Always false (random number generators are infinite ranges).
Mark this as a uniform RNG
Largest generated value
Smallest generated value (0)
Parameters for the generator
The Mersenne Twister generator, developed by Makoto Matsumoto and Takuji Nishimura (1997), allows for fast generation of high-quality pseudorandom numbers, and is widely used as a default random number generator by many programming languages, including D. The current implementation is adapted from that of Boost.Random and supports both 32- and 64-bit datatypes.