B
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<<
RANDOM NUMBER GENERATORS
>>
A popular random number generator called RANDU was distributed by IBM in 1960 with the algorithm:
x
n+1
= ( 69069
x
n
) mod 2
31
-1
and then Park and Miller proposed a minimal standard:
x
n+1
= ( 16807
x
n
) mod 2
31
-1
The computer implementations of the algorithm (Fortran 90):
randu.f90
|
minimal.f90