This package generates uniformly distributed pseudo-random numbers. Random reals are generated in the range or the range and random integers in the range where is speciﬁed by the user.
A multiplicative congruent method is used where a 31 bit generator word is maintained. On each call to a procedure of the package, is updated to ; the initial value of is . Depending upon the type of random number required the following are computed ; or .
The package also provides the facility for saving the current value of the generator word and for restarting with any speciﬁed value.