summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-06-12 19:06:06 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-06-12 19:06:06 (GMT)
commitb7832939c752038299ea2f6acbb9789a9aaff707 (patch)
tree0b1885935ebe2ca97832a0a851fbceecad7fb3b6 /Objects/stringlib
parentf0604fddc3b9a775f22d19d7d7fe50c4aa1ecf7d (diff)
downloadcpython-b7832939c752038299ea2f6acbb9789a9aaff707.zip
cpython-b7832939c752038299ea2f6acbb9789a9aaff707.tar.gz
cpython-b7832939c752038299ea2f6acbb9789a9aaff707.tar.bz2
1) Fix signature of _mpd_qpow_uint(): contrary to the comment base is constant.
2) Abort the loop for all specials, not only infinity. 3) Make the function more general and distinguish between zero clamping and folding down the exponent. The latter case is currently handled by setting context->clamp to 0 before calling the function.
Diffstat (limited to 'Objects/stringlib')
0 files changed, 0 insertions, 0 deletions