How can one perform high precision convolution in Python?

198 Views Asked by At

I am doing convolution operations involving some very small numbers, and am encountering a lot of underflow on the way.

1

There are 1 best solutions below

0
On

You can take a look at decimal package coming in standard library. If it doesn't work for you, there are other alternatives like mpmath or bigfloat.