Greatest common divisor: Difference between revisions
Content deleted Content added
Line 1,456: | Line 1,456: | ||
} |
} |
||
} |
} |
||
</lang> |
|||
{{out|Output for Binary Euclidian algorithm}} |
|||
<pre> |
|||
gcd(33, 77) = 11 |
|||
gcd(49865, 69811) = 9973 |
|||
</pre> |
|||
===Iterative=== |
===Iterative=== |
||
<lang go>package main |
<lang go>package main |