Comment Comment by feliperibeiro Still this is an issue with the algorithm, not the implementation.http://en.wikipedia.org/wiki/Euclidean_algorithm parent feliperibeiro 12 years ago
http://en.wikipedia.org/wiki/Euclidean_algorithm