Go to the source code of this file.
|
| integer function | ilcm (m, n) |
◆ ilcm()
| integer function ilcm |
( |
integer | m, |
|
|
integer | n ) |
Definition at line 1 of file ilcm.f.
2
3
4
5
6
7
8
9 INTEGER M, N
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 INTEGER IA, IQ, IR
32
33
34
35 IF( m.GE.n ) THEN
36 ia = m
38 ELSE
39 ia = n
41 ENDIF
42
43 10 CONTINUE
46 IF( ir.EQ.0 ) THEN
48 RETURN
49 END IF
52 GO TO 10
53
54
55
integer function ilcm(m, n)