Message170045
| Author |
mark.dickinson |
| Recipients |
hac.man, mark.dickinson, rhettinger, skrah |
| Date |
2012年09月08日.10:54:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1347101645.33.0.184435703603.issue15882@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> read-only interface:
>
> x.sign -> 0 or 1 (perhaps even 1 or -1)
> x.coeff -> Python integer
> x.exp -> Python integer
The only slightly awkward thing with this (for high-precision decimals) is the quadratic conversion (well, okay, perhaps subquadratic depending on what algorithms are being used, but still ...) required to get from the decimal coefficient to a Python integer, and vice versa. It may be better to use a (byte)string of digits instead of a Python integer for the coefficient. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年09月08日 10:54:05 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, skrah, hac.man |
| 2012年09月08日 10:54:05 | mark.dickinson | set | messageid: <1347101645.33.0.184435703603.issue15882@psf.upfronthosting.co.za> |
| 2012年09月08日 10:54:04 | mark.dickinson | link | issue15882 messages |
| 2012年09月08日 10:54:04 | mark.dickinson | create |
|