osdir.com


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

Floating point overflow and underflow


Oh, thanks. Didn't think of that.

On Tue, Jan 7, 2020, 7:53 PM Michael Torrie <torriem at gmail.com> wrote:

> 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'))
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>