Floating point overflow and underflow

Shashank Tiwari shanky.tiwari at gmail.com
Tue Jan 7 23:01:14 EST 2020


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
>


More information about the Python-list mailing list