Closed
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