Message104306
| Author | skrah |
|---|---|
| Recipients | facundobatista, mark.dickinson, rhettinger, skrah |
| Date | 2010-04-27.09:53:53 |
| SpamBayes Score | 0.03370617 |
| Marked as misclassified | No |
| Message-id | <1272362038.05.0.870798753745.issue8540@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
(1) Perhaps I missed the relevant part in the spec, so I had to check what decNumber does: In the default context, clamp is 0, in the extended contexts, it is 1. So Python's ExtendedContext should indeed set _clamp to 1. (2) I agree about the importance of the formats, and I think they should be explicitly selectable like here: http://java.sun.com/j2se/1.5.0/docs/api/java/math/class-use/MathContext.html The current ExtendedContext is a bit of a vague concept, since it should be exactly one of DECIMAL32, DECIMAL64 or DECIMAL128. And none of these has prec=9. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-04-27 09:53:58 | skrah | set | recipients: + skrah, rhettinger, facundobatista, mark.dickinson |
| 2010-04-27 09:53:58 | skrah | set | messageid: <1272362038.05.0.870798753745.issue8540@psf.upfronthosting.co.za> |
| 2010-04-27 09:53:53 | skrah | link | issue8540 messages |
| 2010-04-27 09:53:53 | skrah | create | |