Message96999
| 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: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 |
|