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

check all integer multiplies #102

Open
Lokathor opened this issue Jul 3, 2021 · 0 comments
Open

check all integer multiplies #102

Lokathor opened this issue Jul 3, 2021 · 0 comments

Comments

@Lokathor
Copy link
Owner

Lokathor commented Jul 3, 2021

When you multiply two integers you get a double-width output, and if you keep just the lower half of that output then the bits are correct for both signed and unsigned integer multiplication.

Thus, some of our multiplication should be marked as working for both signed and unsigned, with appropriate names and such.

I did part of this in 561e68b, but we need to review and probably fix more stuff elsewhere.

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

No branches or pull requests

1 participant