This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients CliffM, mark.dickinson, terry.reedy, tim.peters
Date 2013-10-18.23:06:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382137564.67.0.0255006566896.issue19237@psf.upfronthosting.co.za>
In-reply-to
Content
I am -0 (or more negative) for the same reason. The need for lcm is very rare. I think the gcd doc should give the lcm formula, with perhaps an index entry. The gcd doc might also mention that gcd is associative: gcd(a,b,c) = gcd(gcd(a,b),c).

The math module is nearly all float math. The integer only math.factorial(n) is relatively recent. Gcd in in fractions because we do not have an imath module and because the only use of gcd in the stdlib is for reducing fractions.
History
Date User Action Args
2013-10-18 23:06:04terry.reedysetrecipients: + terry.reedy, tim.peters, mark.dickinson, CliffM
2013-10-18 23:06:04terry.reedysetmessageid: <1382137564.67.0.0255006566896.issue19237@psf.upfronthosting.co.za>
2013-10-18 23:06:04terry.reedylinkissue19237 messages
2013-10-18 23:06:04terry.reedycreate