New submission from Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31980>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to