cnl
cnl copied to clipboard
Overflow issue during multiplication of negative wide_integers
John,
for some reason I sometimes get overflow issues when multiplying two wide_integers. It may be related to the signs of the factors. The number of digits should be sufficient to represent the factors as well as the product.
Example here:
https://godbolt.org/z/3bh6zsz9M
Tested with 06c06cd5c2967f02aa668830bd971abfdbd99ad2
Let me know if I am missing something.
Cheers, Nils
Hi Nils. That looks like a bug. It should be addressed by #892 which is ongoing.