[pypy-issue] [issue792] builtin pow() gives wrong answer

Armin Rigo tracker at bugs.pypy.org
Sun Jul 24 18:49:17 CEST 2011


Armin Rigo <armin.rigo at gmail.com> added the comment:

Fixed in 70d00af8294e.  Actually I just disabled the special path for
'pow(x,y,z)' for the case of huge 'y', which was buggy because it assumed that
SHIFT was a multiple of 5.  I'm ready to reintroduce it if really needed, but it
should be at most a constant factor's difference, not a better algorithmic factor.

----------
nosy: +arigo
status: chatting -> resolved

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue792>
________________________________________


More information about the pypy-issue mailing list