[issue11888] Add C99's log2() function to the math library

Mark Dickinson report at bugs.python.org
Tue May 10 22:31:06 CEST 2011


Mark Dickinson <dickinsm at gmail.com> added the comment:

Victor, what do you think about simply #undefining HAVE_LOG2 on Tiger (e.g. in pyport.h), so that the fallback log2 version is used there instead of the system version?

Does anyone know the appropriate preprocessor check for OS X <= 10.4?  I can get as far as "#ifdef __APPLE__", but don't know how to check for specific versions of OS X.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11888>
_______________________________________


More information about the Python-bugs-list mailing list