about summary refs log tree commit diff
path: root/library/core/src/num/saturating.rs
AgeCommit message (Expand)AuthorLines
2025-08-19Rollup merge of #144767 - tgross35:doc-grammar, r=ibraheemdev许杰友 Jieyou Xu (Joe)-2/+2
2025-08-10Constify remaining operatorsltdk-52/+104
2025-08-10Let forward_ref_* macros accept multiple attributes, and require attributes e...ltdk-31/+50
2025-07-31Correct some grammar in integer documentationTrevor Gross-2/+2
2025-06-20integer docs: remove extraneous textTshepang Mbambo-46/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2023-10-08Bump to latest betaMark Rousskov-3/+1
2023-10-03Bump version placeholdersMark Rousskov-85/+85
2023-09-03Stabilize the Saturating type (saturating_int_impl, gh-87920)Michael Watzko-97/+91
2023-09-03Unimpl Shl, ShlAssign, Shr and ShrAssign for SaturatingMichael Watzko-123/+126
2023-09-01[`clippy`] Use symbols intended for `arithmetic_side_effects`Caio-0/+1
2022-01-26Unimpl {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}<$t> for Saturating<$t>Michael Watzko-122/+8
2021-12-28Add {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}{,Assign}<$t> to Saturating<$t>Michael Watzko-0/+187
2021-11-14Fix incorrect feature flagsJacob Pratt-1/+1
2021-10-22Rollup merge of #88624 - kellerkindt:master, r=JohnTitorYuki Okushi-2/+2
2021-10-21Stabilize feature saturating_div for rust 1.58Michael Watzko-2/+2
2021-10-11Rollup merge of #89753 - jkugelman:must-use-from_value-conversions, r=joshtri...Guillaume Gomez-0/+2
2021-10-10Add #[must_use] to from_value conversionsJohn Kugelman-0/+2
2021-10-10Rollup merge of #89720 - jkugelman:must-use-math-operations, r=joshtriplettMatthias Krüger-2/+29
2021-10-09Add #[must_use] to math and bit manipulation methodsJohn Kugelman-2/+29
2021-10-09Add #[must_use] to is_condition testsJohn Kugelman-0/+3
2021-08-28Unimpl Shl{Assign} for signed Saturating types until the correct impl is clearMichael Watzko-59/+63
2021-08-28Fix mentions of wrapping operationsMichael Watzko-2/+2
2021-08-28Use wrapping shift for unsigned typesMichael Watzko-2/+2
2021-08-19Simplify Div impl for Saturating by using saturating_divMichael Watzko-37/+31
2021-08-19Add and use saturating_div instead of impl inside SaturatingMichael Watzko-10/+1
2021-08-19Saturate negative divisionMichael Watzko-13/+46
2021-08-12Implement Neg only for signed Saturating typesMichael Watzko-11/+11
2021-08-12Add naive remainder impl to SaturatingMichael Watzko-1/+22
2021-08-12Add naive shift implementation to SaturatingMichael Watzko-1/+158
2021-08-12Replace doc test with doc macro callMichael Watzko-1/+1
2021-08-12Like in Wrapping use shift in doctestMichael Watzko-2/+2
2021-08-12Remove mentioning of modular arithmeticMichael Watzko-3/+2
2021-08-12Make all the impls for Staturating unstable saturating_int_implMichael Watzko-33/+33
2021-08-10Fix missed testsMichael Watzko-10/+7
2021-08-10RustfmtMichael Watzko-1/+0
2021-08-10Remove unused macrosMichael Watzko-33/+0
2021-08-10Add Saturating type (based on Wrapping type)Michael Watzko-0/+814