Generator 19 : rand | Random number generator tested: |
rand |
Minimum value: | 0 | Maximum value: | 2147483647 |
Family: | Linear Congruential generator |
Random number generator algorithms: | |
This is the BSD rand() generator. Its sequence is
xn+1 = (a xn + c) mod m with a = 1103515245, c = 12345 and m = 231. The seed specifies the initial value, x1. The period of this generator is 231, and it uses 1 word of storage per generator. The period of this generator is 231. |