Jump to content

Greatest common divisor: Difference between revisions

m
Line 3,821:
=={{header|K}}==
<syntaxhighlight lang="k">gcd:{:[~x;y;_f[y;x!y]]}</syntaxhighlight>
 
{{works with|ngn/k}}
<syntaxhighlight lang=K>gcd:{$[~x;y;o[x!y;x]]}</syntaxhighlight>
 
=={{header|Klong}}==
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.