[New-bugs-announce] [issue31980] Special case log(x, 2), log(x, 10) and pow(2, x)
Serhiy Storchaka
report at bugs.python.org
Wed Nov 8 07:59:05 EST 2017
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
C99 provides functions log2(), log10() and exp2(). Is it worth to special case math.log(), math.pow() and built-in pow() for using these functions? log2(x) can be more accurate than log(x)/log(2).
There are math.log2() and math.log10(), but not math.exp2().
----------
components: Extension Modules
messages: 305825
nosy: mark.dickinson, rhettinger, serhiy.storchaka, stutzbach
priority: normal
severity: normal
status: open
title: Special case log(x, 2), log(x, 10) and pow(2, x)
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31980>
_______________________________________
More information about the New-bugs-announce
mailing list