Message233729
> This behavior seems to be required by the General Decimal Arithmetic
Specification (http://speleotrove.com/decimal/daexcep.html )
Yes, exactly. The decimal module strictly follows that specification. I don't like the 0**0 -> NaN result much either (especially when we also have inf**0 -> 1), but it's what's specified. I've talked to Mike Cowlishaw (the author of the specification) about this particular issue, and the spec is not likely to change on this point. |
|
Date |
User |
Action |
Args |
2015-01-09 08:18:45 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, facundobatista, Devin Jeanpierre, ezio.melotti, cvrebert, skrah, josh.r |
2015-01-09 08:18:45 | mark.dickinson | set | messageid: <1420791525.38.0.648435711552.issue23201@psf.upfronthosting.co.za> |
2015-01-09 08:18:45 | mark.dickinson | link | issue23201 messages |
2015-01-09 08:18:44 | mark.dickinson | create | |
|