Constructs a LinearCongruentialEngine generator seeded with x0.
A postblit is present on this object, but not explicitly documented in the source.
Advances the random sequence.
The parameters of this distribution. The random number is x = (x * multiplier + increment) % modulus.
Highest generated value (modulus - 1 - bool(c == 0)).
The parameters of this distribution. The random number is x = (x * multiplier + increment) % modulus.
The parameters of this distribution. The random number is x = (x * multiplier + increment) % modulus.
The low bits of a linear congruential generator whose modulus is a power of 2 have a much shorter period than the high bits. Note that for LinearCongruentialEngine, modulus == 0 signifies a modulus of 2 ^^ (Uint.sizeof*8) which is not representable as Uint.
Linear Congruential generator.