summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2021-11-21Rollup merge of #91008 - Urgau:float-minimum-maximum, r=scottmcmMatthias Krüger-0/+136
2021-11-20Apply documentation suggestions from @est31Urgau-8/+8
2021-11-20Add similar note as LLVM does for minNum and maxNum functionsLoïc BRANSTETT-0/+12
2021-11-20Implement IEEE 754-2019 minimun and maximum functions for f32/f64Loïc BRANSTETT-0/+124
2021-11-19Turn all 0x1b_u8 into '\x1b' or b'\x1b'r00ster91-10/+10
2021-11-12Remove bigint_helper_methods for *signed* typesScott McMurray-68/+1
2021-11-05Reorder `widening_impl`s to make the doc clearerYuki Okushi-18/+18
2021-11-04Add more text and examples to `carrying_{add|mul}"Scott McMurray-15/+63
2021-10-31Rollup merge of #89897 - jkugelman:must-use-core, r=joshtriplettMatthias Krüger-0/+3
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+3
2021-10-30Rollup merge of #89876 - AlexApps99:const_ops, r=oli-obkMatthias Krüger-58/+91
2021-10-27replace `&` with `&&` in {integer}::checked_remPietro Albini-2/+1
2021-10-27replace `&` with `&&` in {integer}::checked_divPietro Albini-2/+1
2021-10-27replace `|` with `||` in {unsigned_int}::borrowing_subPietro Albini-1/+1
2021-10-27replace `|` with `||` in {unsigned_int}::carrying_addPietro Albini-1/+1
2021-10-22Rollup merge of #88624 - kellerkindt:master, r=JohnTitorYuki Okushi-14/+4
2021-10-22Added const versions of common numeric operationsAlexApps99-58/+91
2021-10-21Stabilize feature saturating_div for rust 1.58Michael Watzko-14/+4
2021-10-20Make `From` impls of NonZero integer const.woppopo-1/+1
2021-10-20Rollup merge of #90009 - woppopo:const_from_more, r=dtolnayYuki Okushi-3/+5
2021-10-20Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahcYuki Okushi-2/+2
2021-10-18Make more `From` impls `const`woppopo-3/+5
2021-10-15Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=pe...Matthias Krüger-3/+1
2021-10-12Add #[inline] to int log10 functions.Mara Bos-0/+12
2021-10-12Auto merge of #88788 - falk-hueffner:speedup-int-log10-branchless, r=joshtrip...bors-56/+51
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