[issue22486] Add math.gcd()
Serhiy Storchaka
report at bugs.python.org
Fri Sep 26 19:42:01 CEST 2014
Serhiy Storchaka added the comment:
Thank you Stefan. I confirm that it hangs with 30-bit digits.
One existing bug is in the use of PyLong_AsLong() before simple Euclidean
loop. It should be PyLong_AsLongLong() if the long is not enough for two
digits. But there is another bug in inner loop...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22486>
_______________________________________
More information about the Python-bugs-list
mailing list