]> granicus.if.org Git - python/commit
Merged revisions 77234 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Sat, 2 Jan 2010 15:33:56 +0000 (15:33 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 2 Jan 2010 15:33:56 +0000 (15:33 +0000)
commit6ecd9e53ce43796a0626d16a89cd6a99b28333cc
tree006509589544384205fdb543e214b101e1c71414
parent01f748a8326770f98e514da85b4a42cae672cd80
Merged revisions 77234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77234 | mark.dickinson | 2010-01-02 14:45:40 +0000 (Sat, 02 Jan 2010) | 7 lines

  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.
........
Include/longobject.h
Modules/mathmodule.c
Objects/longobject.c