-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Description
The feature gate for the issue is #![feature(saturating_div)]
.
About tracking issues
This tracking issue tracks the progress of the saturating_div
feature, which shall provide a saturating division for integer types. It is part of the ongoing effort to stabilize the Saturating
type #87920
Unresolved Questions
None. The implementation has been discussed here and here.
Steps
- implement (Add Saturating type (based on Wrapping type) #87921)
- Stabilize
saturating_div
(Stabilize featuresaturating_div
for rust 1.58.0 #88624)
Implementation history
- Implementation Add Saturating type (based on Wrapping type) #87921
- Adds
fn saturating_div
andfeature(saturating_div)
- Adds
GrayJack
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.