-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Simplify and fix the Int128 *, /, and % logic #75470
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there are some bugs.
Co-authored-by: tfenise <tfenise@live.com>
Tagging subscribers to this area: @dotnet/area-system-numerics Issue DetailsThis resolves #75416
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments, once those are addressed LGTM
|
||
if (IsNegative(right)) | ||
if (((upper != 0) || (lower < 0)) && ((~upper != 0) || (lower >= 0))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something about this logic is hard to parse but I can't figure out a better way to structure it.
Logged #75566 for the Mono llvmaot failure, which is unrelated. |
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3048638350 |
This resolves #75416