This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients mark.dickinson, rhettinger, skrah
Date 2010-02-22.14:01:08
SpamBayes Score 0.034350365
Marked as misclassified No
Message-id <1266847269.64.0.0753550909812.issue7049@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2010-02-22 14:01:09skrahsetrecipients: + skrah, rhettinger, mark.dickinson
2010-02-22 14:01:09skrahsetmessageid: <1266847269.64.0.0753550909812.issue7049@psf.upfronthosting.co.za>
2010-02-22 14:01:08skrahlinkissue7049 messages
2010-02-22 14:01:08skrahcreate