Message268917
For general use I think it would be more useful to make pow() supporting fractions (using as_integer_ration()).
>>> math.pow(1000, fractions.Fraction(2, 3))
100.0
>>> math.pow(100000, decimal.Decimal('0.4'))
100.0 |
|
Date |
User |
Action |
Args |
2016-06-20 17:57:47 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, mark.dickinson, belopolsky, steven.daprano |
2016-06-20 17:57:46 | serhiy.storchaka | set | messageid: <1466445466.96.0.767380256396.issue27353@psf.upfronthosting.co.za> |
2016-06-20 17:57:46 | serhiy.storchaka | link | issue27353 messages |
2016-06-20 17:57:46 | serhiy.storchaka | create | |
|