Greatest common divisor: Difference between revisions

m
→‎{{header|K}}: Order chronological
m (→‎{{header|K}}: Note dialects, Reorder)
m (→‎{{header|K}}: Order chronological)
Line 3,853:
 
=={{header|K}}==
===K6===
{{works with|ngn/k}}
<syntaxhighlight lang=K>gcd:{$[~x;y;o[x!y;x]]}</syntaxhighlight>
===K3===
{{works with|Kona}}
<syntaxhighlight lang="k">gcd:{:[~x;y;_f[y;x!y]]}</syntaxhighlight>
===K6===
{{works with|ngn/k}}
<syntaxhighlight lang=K>gcd:{$[~x;y;o[x!y;x]]}</syntaxhighlight>
 
=={{header|Klong}}==
36

edits