Greatest common divisor: Difference between revisions
Content added Content deleted
No edit summary |
m (→{{header|Clojure}}: formatting) |
||
Line 309: | Line 309: | ||
(if (zero? b) |
(if (zero? b) |
||
a |
a |
||
(recur b (mod a b)) ; This is (gcd b (mod a b)), but with explicit tail call optimization. |
(recur b (mod a b)))) ; This is (gcd b (mod a b)), but with explicit tail call optimization. |
||
⚫ | |||
) |
|||
⚫ | |||
=={{header|c sharp|C#}}== |
=={{header|c sharp|C#}}== |