Parameters: Minimum value (Min), Maximum value (Max)
Method: Multiplicative Congruential Generator
This routine uses the iteration formula:
The generator has a period of length 231 - 2, or 2,147,483,646. This means that the cycle of random numbers repeats after several billion trials. This formula is discussed in detail in the Simulation Modeling & Analysis and Art of Computer Programming, Vol. II, references in the Crystal Ball User's Guide bibliography.