Message93493
If precision 1 is aupported, the following results should not be NaN:
Python 2.7a0 (trunk:74738, Sep 10 2009, 11:50:08)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from decimal import *
>>> setcontext(Context(prec=1, rounding=ROUND_UP,
Emin=-999999999999999999, Emax=999999999999999999, capitals=1, flags=[],
traps=[]))
>>> pow(Decimal(0), Decimal(3), Decimal(70))
Decimal('NaN')
>>> pow(Decimal(3), Decimal(0), Decimal(70))
Decimal('NaN')
>>> |
|
Date |
User |
Action |
Args |
2009-10-03 13:59:24 | skrah | set | recipients:
+ skrah |
2009-10-03 13:59:24 | skrah | set | messageid: <1254578364.09.0.56728742883.issue7049@psf.upfronthosting.co.za> |
2009-10-03 13:59:23 | skrah | link | issue7049 messages |
2009-10-03 13:59:22 | skrah | create | |
|