-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add (checked_)norem_div
methods for integer types
#116632
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r? @cuviper (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
e1add59
to
83e444a
Compare
jswrenn
reviewed
Oct 11, 2023
@rustbot label +T-libs-api -T-libs |
@joshtriplett ping |
r? libs |
This needs an ACP prior to landing for the new unstable API surface area. |
83e444a
to
9c8317e
Compare
checked_norem_div
method for integer types(checked_)norem_div
methods for integer types
This comment has been minimized.
This comment has been minimized.
9c8317e
to
7d7c470
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cd9d3e0
to
3864171
Compare
This comment has been minimized.
This comment has been minimized.
3864171
to
b5ed5d0
Compare
The ACP was created back in February, so I think the |
☔ The latest upstream changes (presumably #135760) made this pull request unmergeable. Please resolve the merge conflicts. |
workingjubilee
added a commit
to workingjubilee/rustc
that referenced
this pull request
May 30, 2025
…ngjubilee Implement ((un)checked_)exact_div methods for integers tracking issue: rust-lang#139911 I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (rust-lang#116632), but I'm not sure why it got closed.
workingjubilee
added a commit
to workingjubilee/rustc
that referenced
this pull request
May 30, 2025
…ngjubilee Implement ((un)checked_)exact_div methods for integers tracking issue: rust-lang#139911 I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (rust-lang#116632), but I'm not sure why it got closed.
rust-timer
added a commit
that referenced
this pull request
May 31, 2025
Rollup merge of #141237 - Qelxiros:139911-exact-div, r=workingjubilee Implement ((un)checked_)exact_div methods for integers tracking issue: #139911 I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (#116632), but I'm not sure why it got closed.
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Jun 3, 2025
…ngjubilee Implement ((un)checked_)exact_div methods for integers tracking issue: rust-lang#139911 I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (rust-lang#116632), but I'm not sure why it got closed.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
S-waiting-on-ACP
Status: PR has an ACP and is waiting for the ACP to complete.
S-waiting-on-author
Status: This is awaiting some action (such as code changes or more information) from the author.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The methods will be useful in cases when we need to ensure that numbers can be divided without remainder.
If the changes are good for inclusion, I will create a tracking issue for the feature.
ACP: rust-lang/libs-team#337