Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflow issue during multiplication of negative wide_integers #912

Open
nilskohl opened this issue Jul 2, 2021 · 1 comment
Open

Overflow issue during multiplication of negative wide_integers #912

nilskohl opened this issue Jul 2, 2021 · 1 comment

Comments

@nilskohl
Copy link

nilskohl commented Jul 2, 2021

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 06c06cd

Let me know if I am missing something.

Cheers,
Nils

@nilskohl nilskohl added the bug label Jul 2, 2021
@johnmcfarlane
Copy link
Owner

Hi Nils. That looks like a bug. It should be addressed by #892 which is ongoing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants