[issue31980] Special case log(x, 2), log(x, 10) and pow(2, x)
Mark Dickinson
report at bugs.python.org
Wed Nov 8 14:55:40 EST 2017
Mark Dickinson <dickinsm at gmail.com> added the comment:
> There is no two-argument libm `log`. Two-argument log(x, base) is implemented as log(x) / log(base).
Yep. But log(x) / log(base) is monotonic in x for a fixed base, assuming that the libm log is. My objections still hold. :-) Please let's keep the math.log implementation simple (or at least, no more complicated than it already is).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31980>
_______________________________________
More information about the Python-bugs-list
mailing list