[issue3724] math.log(x, 10) gives different result than math.log10(x)

Raymond Hettinger report at bugs.python.org
Sun Oct 5 19:15:53 CEST 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Mark, is some of the inaccuracy due to double rounding?  Could we make
the two argument form more accurate by allowing the compiler to generate
code that uses full internal precision, log(n)/log(d), instead of
prematurely forcing the intermediate results to a PyFloat?

----------
assignee: rhettinger -> marketdickinson

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


More information about the Python-bugs-list mailing list