Anonymous user
Linear congruential generator: Difference between revisions
m
seed_n => state_n
m (→{{header|F_Sharp|F#}}: 'congruential' => 'congruent') |
m (seed_n => state_n) |
||
Line 26:
* <math>state_{n + 1} = 214013 \times state_n + 2531011 \pmod{2^{31}}</math>
* <math>rand_n =
The BSD formula was so awful that FreeBSD switched to a different formula. More info is at [[Random number generator (included)#C]].
|