Greatest Common Divisor (Algorithm 237 [A1])
CACM August, 1964
Peck, J. E. L.
