A linear congruential pseudorandom number generator.