Anonymous user
Greatest common divisor: Difference between revisions
m
→{{header|Clojure}}
m (→{{header|Clojure}}: formatting) |
|||
Line 309:
(if (zero? b)
a
(recur b (mod a b)))) ; This is (gcd b (mod a b)), but with explicit tail call optimization.</lang>
=={{header|c sharp|C#}}==
|