osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Floating point overflow and underflow


On 1/7/20 8:46 PM, Shashank Tiwari wrote:
> Yes, I tried this and it worked. I was wondering if I could use the output
> of pow (or math.pow).

Sure:

pow(Decimal('2.2'), Decimal('0.45'))