Message96999
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. |
|
Date |
User |
Action |
Args |
2009-12-29 19:10:58 | mark.dickinson | set | recipients:
+ mark.dickinson, vstinner |
2009-12-29 19:10:57 | mark.dickinson | set | messageid: <1262113857.69.0.978153966977.issue5576@psf.upfronthosting.co.za> |
2009-12-29 19:10:56 | mark.dickinson | link | issue5576 messages |
2009-12-29 19:10:56 | mark.dickinson | create | |
|