about summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2021-10-11Auto merge of #89767 - GuillaumeGomez:rollup-sczixhk, r=GuillaumeGomezbors-0/+24
2021-10-11Rollup merge of #89753 - jkugelman:must-use-from_value-conversions, r=joshtri...Guillaume Gomez-0/+22
2021-10-11Rollup merge of #89729 - jkugelman:must-use-core-std-constructors, r=joshtrip...Guillaume Gomez-0/+2
2021-10-11Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkovbors-1/+3
2021-10-10Add #[must_use] to from_value conversionsJohn Kugelman-0/+22
2021-10-10Rollup merge of #89720 - jkugelman:must-use-math-operations, r=joshtriplettMatthias Krüger-19/+229
2021-10-10Rollup merge of #89718 - jkugelman:must-use-is_condition-tests, r=joshtriplettMatthias Krüger-0/+37
2021-10-10Rollup merge of #88713 - falk-hueffner:int-log10-documentation-fixes, r=scottmcmMatthias Krüger-25/+24
2021-10-10Apply clippy suggestionsClemens Wasser-1/+3
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+2
2021-10-09Add #[must_use] to math and bit manipulation methodsJohn Kugelman-19/+229
2021-10-09Add #[must_use] to is_condition testsJohn Kugelman-0/+37
2021-10-09Update library/core/src/num/mod.rsJohn Kugelman-1/+1
2021-10-09Add #[must_use] to string/char transformation methodsJohn Kugelman-0/+4
2021-10-06Rollup merge of #88523 - kpreid:category, r=yaahcManish Goregaokar-4/+22
2021-10-06Rollup merge of #87601 - a1phyr:feature_uint_add_signed, r=kennytmManish Goregaokar-9/+301
2021-10-05for signed overflowing remainder, delay comparing lhs with MINTrevor Spiteri-6/+4
2021-10-04Rollup merge of #88780 - orlp:int-abs-diff, r=m-ou-seJubilee-0/+67
2021-10-04Optimize `saturating_add_signed`Benoît du Garreau-3/+6
2021-10-03Rollup merge of #87910 - iago-lito:mark_unsafe_nonzero_arithmetics_as_const, ...Manish Goregaokar-2/+2
2021-10-03Revert suggested use of `unwrap_or`Benoît du Garreau-2/+10
2021-10-03Apply suggestionsAlphyr-12/+6
2021-10-03Added tracking issue numbers for int_abs_diff.Orson Peters-2/+2
2021-10-02Use bitand when checking for signed integer division overflowTrevor Spiteri-8/+16
2021-10-01Add methods to add/sub `uX` to/from `iX`Benoît du Garreau-12/+202
2021-10-01Fix doc testBenoît du Garreau-1/+1
2021-10-01Apply suggestion for `overflowing_add_signed`Alphyr-5/+2
2021-10-01Add functions to add unsigned and signed integersBenoît du Garreau-9/+109
2021-09-22Temporarily rename int_roundings functions to avoid conflictsJosh Triplett-26/+26
2021-09-20Mark unsafe NonZero*::unchecked_(add|mul) as constIago-lito-2/+2
2021-09-13`Wrapping<T>` has the same layout and ABI as `T`Joshua Liebow-Feeser-0/+4
2021-09-09Added psadbw support for u8::abs_diff.Orson Peters-3/+9
2021-09-09Added abs_diff for integer types.Orson Peters-0/+61
2021-09-08Bump stage0 compiler to 1.56Mark Rousskov-4/+0
2021-09-08Rollup merge of #88712 - jhpratt:fix-int_rounding-docs, r=joshtriplettJack Huey-1/+2
2021-09-07Improve docs for int_logFalk Hüffner-25/+24
2021-09-07Fix docs for `uX::checked_next_multiple_of`Jacob Pratt-1/+2
2021-09-05Change return type for T::{log,log2,log10} to u32. The value is atFalk Hüffner-24/+18
2021-09-02Rollup merge of #88582 - jhpratt:int_roundings, r=joshtriplettMara Bos-0/+271
2021-09-02Implement #88581Jacob Pratt-0/+271
2021-08-31Rollup merge of #85017 - clarfonthey:carrying_widening, r=m-ou-seMara Bos-0/+201
2021-08-30Expand documentation for `FpCategory`.Kevin Reid-4/+22
2021-08-28Auto merge of #87921 - kellerkindt:master, r=kennytmbors-0/+1044
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-26Add carrying_add, borrowing_sub, widening_mul, carrying_mul methods to integersltdk-0/+201
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-7/+2
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-19Simplify saturating_divMichael Watzko-8/+3