Constants
modulo =
2147483647;
Randomization modulo. Equal to 2^31 - 1.
Randomization modulo. Equal to 2^31 - 1.
Returns a random integer number from 0 to (range - 1).
For example, Int(6) may return a number from 0 to 5.
range
must be in range [1; 2^31 - 2].
Sets the value of the random seed. Any values are allowed, although values that are not in [1..2^31 - 2] range will be mapped into this range.
The same random seed results in the same sequence of random numbers.
Initializes the randomization process using current time. This procedure is called automatically on module initialization.
Returns a random real number x, where 0 <= x < 1.
A simple and fast pseudo-random number generator