The OpenD Programming Language

LinearCongruentialEngine.preferHighBits

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.

struct LinearCongruentialEngine(Uint, Uint a, Uint c, Uint m)
enum bool preferHighBits;

Meta