-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Added unchecked_div
and unchecked_rem
to signed and unsigned numerical types
#137598
base: master
Are you sure you want to change the base?
Added unchecked_div
and unchecked_rem
to signed and unsigned numerical types
#137598
Conversation
unchecked_div
and unchecked_rem
to signed and unsigned numerical typesunchecked_div
and unchecked_rem
to signed and unsigned numerical types
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
ed68857
to
1a6551b
Compare
On the tracking issue I was mostly voicing conern about the naming, i.e. having two functions with the same name but different safety preconditions. |
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.
Some of the requested changes are only on 1 of the functions, please make sure they are applied to all 4 (if applicable).
1a6551b
to
dee4e5c
Compare
This comment has been minimized.
This comment has been minimized.
dee4e5c
to
e5eddbd
Compare
This comment has been minimized.
This comment has been minimized.
e5eddbd
to
2949b77
Compare
unchecked_div
and unchecked_rem
to signed and unsigned numerical typesunchecked_div
and unchecked_rem
to signed and unsigned numerical types
This comment has been minimized.
This comment has been minimized.
0878b5e
to
5d40a59
Compare
unchecked_div
and unchecked_rem
to signed and unsigned numerical typesunchecked_div
and unchecked_rem
to signed and unsigned numerical types
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.
LGTM!
Tip: You can collapse review comments by clicking on "Resolve Conversation" once you've addressed it
5d40a59
to
8d2a5b6
Compare
8d2a5b6
to
2c9342d
Compare
I would be grateful if you could please take a look at this PR @the8472. |
Context
Adds
unchecked_div
andunchecked_rem
to signed and unsigned numerical types incore
.This is an unstable addition.
Related Issue
unchecked_div_rem
#136716