Good morning, when I use the below code, I get a wrong result
import numpy as np
print(np.convolve([10**9], [ 10**9]))
I am getting:-1486618624 while I should be getting: (10 to the power of 9) * (10 to the power of 9) = (10 to the power of 18)
How can I overcome this problem? It is very curious that I get the correct result by using:
print(np.convolve([10**10], [ 10**8]))
which gives me 1000000000000000000
while when I do:
print(np.convolve([10], [ 10**9]))
I get again a stupid result like 1410065408 rather than 10 to the power of 10. It looks like every time there is a 10 to the power of 9, I get strange results. Thanks