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

Fix negation with overflow #657

Merged
merged 2 commits into from
Apr 11, 2024
Merged

Fix negation with overflow #657

merged 2 commits into from
Apr 11, 2024

Conversation

benschulz
Copy link
Contributor

@benschulz benschulz commented Apr 10, 2024

Fixes an issue where i128::MIN would cause overflow.

@paupino
Copy link
Owner

paupino commented Apr 11, 2024

This is a great catch, thank you. The blindness in the test is a worry - I see the u128 test is also blind so I'll likely fix that as part of this too.

@paupino paupino enabled auto-merge (squash) April 11, 2024 15:47
@paupino paupino merged commit 6f7d295 into paupino:master Apr 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants