[issue11888] Add C99's log2() function to the math library
Mark Dickinson
report at bugs.python.org
Mon May 9 14:17:41 CEST 2011
Mark Dickinson <dickinsm at gmail.com> added the comment:
> You know what? Mac OS X log2 is less accurate than Python log2!
That doesn't surprise me much. Though it's probably still true that log2 from OS X is more accurate than our log2 for some other values. It's just that getting the answer wrong for a power of 2 is a 'high-visibility' error.
Testing log2 sounds long-winded and error-prone. I'd suggest just marking that test as an expected failure on Tiger. BTW, I don't see any such failure on Snow Leopard.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11888>
_______________________________________
More information about the Python-bugs-list
mailing list