Greatest common divisor: Difference between revisions
m
→Builtin: library change
m (→Builtin: library change) |
|||
Line 833:
</lang>
===Builtin===
(This is just a wrapper for <tt>big.
<lang go>package main
Line 842:
func gcd(x, y int64) int64 {
}
Line 851 ⟶ 849:
fmt.Println(gcd(49865, 69811))
}</lang>
{{out|Output in either case
<pre>
11
|