Multiplication stops with two much decimal places
Status: Beta
Brought to you by:
lmeyrick
The recursive multiplication stops when there are to much positions after decimal separator and the number is to big. For example when multiplying 200000000000000000000000000000043200000 with 0,0000000000000000000000000000000009 with a scale of 100.
After debugging for a while, I discovered that the object, where the result is stored, at function to perform the recursive multiplication (prod) contains broken data, e.G. NaN instead of 0. And these NaNs couldn't be overwritten with 0.