about summary refs log tree commit diff
path: root/library/core/src/num/saturating.rs
AgeCommit message (Expand)AuthorLines
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