[issue11888] Add C99's log2() function to the math library
STINNER Victor
report at bugs.python.org
Thu Apr 21 10:48:35 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> The main issue is that we'd have to provide (and maintain) our own
> implementation of log2 for Windows (and other OSs that don't have all
> the C99 support. Solaris?)
No, we don't have to. Python has already a lot of optional functions, see for example the os module. We can provide log2() only if the C library has this function.
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11888>
_______________________________________
More information about the Python-bugs-list
mailing list