This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, vstinner
Date 2009-12-29.19:10:53
SpamBayes Score 3.908669e-09
Marked as misclassified No
Message-id <1262113857.69.0.978153966977.issue5576@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch:

 - rename _PyLong_AsScaledDouble to _PyLong_Frexp (for the benefit of
   anyone foolish enough to be using an undocumented private API
   function)
 - make the exponent type Py_ssize_t instead of int
 - do the scaling by PyLong_SHIFT in _PyLong_Frexp instead of in the
   functions that call it (e.g., loghelper in the math module)
 - remove longintrepr.h include from math module, since it's no longer
   needed
 - change _PyLong_Frexp algorithm to do correct rounding
 - refactor PyLong_Double to use _PyLong_Frexp.
History
Date User Action Args
2009-12-29 19:10:58mark.dickinsonsetrecipients: + mark.dickinson, vstinner
2009-12-29 19:10:57mark.dickinsonsetmessageid: <1262113857.69.0.978153966977.issue5576@psf.upfronthosting.co.za>
2009-12-29 19:10:56mark.dickinsonlinkissue5576 messages
2009-12-29 19:10:56mark.dickinsoncreate