Greatest common divisor: Difference between revisions
m
→REXX version 3: Point at LCM regarding comparison of versions
Walterpachl (talk | contribs) (→REXX version 3: add {{trans}}) |
Walterpachl (talk | contribs) m (→REXX version 3: Point at LCM regarding comparison of versions) |
||
Line 2,728:
Use as gcd(a,b,c,---)
Considerably faster than version 1 (and version 2)
<br>See http://rosettacode.org/wiki/Least_common_multiple#REXX for reasoning.
<lang rexx>gcd: procedure
x=abs(arg(1))
|