summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/fastsearch.h
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-01-02 14:45:40 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-01-02 14:45:40 (GMT)
commitd3e323215c6d9f303bf42875f98e365e2ff1734f (patch)
treeed54ecbd1cf3e030812d3b7024a6eeb8b375b7bb /Objects/stringlib/fastsearch.h
parent5a485c188e56b36b6cfaa2ae942c1ee40b877315 (diff)
downloadcpython-d3e323215c6d9f303bf42875f98e365e2ff1734f.zip
cpython-d3e323215c6d9f303bf42875f98e365e2ff1734f.tar.gz
cpython-d3e323215c6d9f303bf42875f98e365e2ff1734f.tar.bz2
Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDouble
(the latter renamed to _PyLong_Frexp) now use the same core code. The exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the previously used int, and no longer needs scaling by PyLong_SHIFT. This frees the math module from having to know anything about the PyLong implementation. This closes issue #5576.
Diffstat (limited to 'Objects/stringlib/fastsearch.h')
0 files changed, 0 insertions, 0 deletions