diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-01-02 14:45:40 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-01-02 14:45:40 (GMT) |
commit | d3e323215c6d9f303bf42875f98e365e2ff1734f (patch) | |
tree | ed54ecbd1cf3e030812d3b7024a6eeb8b375b7bb /Objects/stringlib/fastsearch.h | |
parent | 5a485c188e56b36b6cfaa2ae942c1ee40b877315 (diff) | |
download | cpython-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