[issue6765] math.log, log10 inconsistency

Tim Peters report at bugs.python.org
Mon Aug 24 15:25:12 CEST 2009


Tim Peters <tim.peters at gmail.com> added the comment:

I wasn't keen to add the 2-argument log() extension either.  However, I
bet it would help if the docs for that were changed to explain that
log(x, base) is just a convenient shorthand for computing
log(x)/log(base), and therefore may be a little less accurate than a
function that directly computed the logarithm wrt the given base.

----------
nosy: +tim_one

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


More information about the Python-bugs-list mailing list