New submission from Raymond Hettinger <raymond.hettin...@gmail.com>:

The three most popular logarithm bases are 10, e, and 2.  The math library has 
direct function calls for the first two but not the latter which is important 
in informatics.

Since a direct call can use a custom algorithm or native hardware support (such 
as the FLDLN2 fpu instruction), it provides better speed and accuracy than our 
existing math.log(x, 2) option.

----------
assignee: mark.dickinson
messages: 134159
nosy: mark.dickinson, rhettinger
priority: normal
severity: normal
status: open
title: Add C99's log2() function to the math library
type: feature request
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11888>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to