-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
This is a tracking issue for the RFC "928" (rust-lang/rfcs#928).
The feature gate for the issue is #![feature(saturating_int_impl)]
.
About tracking issues
Tracks progress for Saturating
type analogue to #32463
Unresolved Questions
- What is the MVP for stabilization?
- What is the correct impl of
Shl
andShalAssign
forSaturating<signed>
Add Saturating type (based on Wrapping type) #87921 (comment)
Possible solution: Tracking Issue forSaturating
type #87920 (comment)
@avitex https://github.com/avitex/rfcs/blob/master/text/0000-saturating-bit-shifts.md
Steps
- implement (Add Saturating type (based on Wrapping type) #87921)
- Stabilize
saturating_div
(Tracking Issue forsaturating_div
#89381) - Split of saturating bit shifts (Implement
saturating_shl
andsaturating_shr
on ints #103441) - Stabilize
saturating_int_impl
Implementation history
- Implementation Add Saturating type (based on Wrapping type) #87921
- Adds
struct Saturating
andfeature(saturating_int_impl)
- Adds
- Stabilization (TODO)
dullbananas, runiq and tgross35
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.