Message99735
This is a very loosely related issue, but I think it fits in here.
To be consistent with the documentation, the three argument power
should use the ideal exponent:
>>> c = getcontext()
>>> c.prec = 400
>>> Decimal('1E400') % Decimal('1123123E5')
Decimal('8.45074E+10')
>>> pow(Decimal('1E400'), 1, (Decimal('1123123E5')))
Decimal('84507400000') |
|
Date |
User |
Action |
Args |
2010-02-22 14:01:09 | skrah | set | recipients:
+ skrah, rhettinger, mark.dickinson |
2010-02-22 14:01:09 | skrah | set | messageid: <1266847269.64.0.0753550909812.issue7049@psf.upfronthosting.co.za> |
2010-02-22 14:01:08 | skrah | link | issue7049 messages |
2010-02-22 14:01:08 | skrah | create | |
|