[issue6765] math.log, log10 inconsistency

Terry J. Reedy report at bugs.python.org
Fri Aug 28 22:11:41 CEST 2009


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Reopening as doc issue. This is at least the second time this issue has
been reported (see #3724), with some agreement on doc tweak, but not done.

Specific suggestions for math module doc, 9.2.2:

math.log(x[, base]) 
Return the logarithm of x to the given base. 

add: ", calculated as log(x)/log(base)" before period.

[This could be removed if better method ever implemented.]

math.log10(x) 
Return the base-10 logarithm of x.

add: "This is usually more accurate than log(x, 10)."

----------
assignee:  -> georg.brandl
components: +Documentation -Library (Lib)
nosy: +georg.brandl, tjreedy
resolution: invalid -> 
status: closed -> open
versions: +Python 2.6, Python 2.7, Python 3.2

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


More information about the Python-bugs-list mailing list