You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@RaduBerinde could you investigate this? If you add
{"0.00000458966308373723", "-3196262285", ""},
to util/decimal/decimal_test.go:TestDecimalPow it'll produce the panic.
It's because the exponent precision calculation in pow is computing a large value for numDigits*yu, which overflows to a negative when converted to an int32.
The panic is in the inf package.
Found with RSG.
The text was updated successfully, but these errors were encountered: