[issue22477] GCD in Fractions

Terry J. Reedy report at bugs.python.org
Wed Sep 24 19:27:59 CEST 2014


Terry J. Reedy added the comment:

If nothing else, the doc for fractions.gcd "Return the greatest common divisor" is wrong and should be changed. The negative of the greatest common divisor is the least common divisor in an integer range. The doc should say "Return the greatest common divisor or its negative".  Ditto for the docstring.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22477>
_______________________________________


More information about the Python-bugs-list mailing list