summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2022-01-06add some missing must use to float opsasquared31415-0/+10
2021-12-19Rollup merge of #91141 - jhpratt:int_roundings, r=joshtriplettMatthias Krüger-26/+26
2021-12-15Rollup merge of #91916 - steffahn:fix-typos, r=dtolnayMatthias Krüger-2/+2
2021-12-14Fix a bunch of typosFrank Steffahn-2/+2
2021-12-12Stabilize asm! and global_asm!Amanieu d'Antras-0/+1
2021-12-10Rollup merge of #90897 - jhpratt:fix-incorrect-feature-flags, r=dtolnayMatthias Krüger-2/+2
2021-11-27Stabilize nonzero_is_power_of_twoScott McMurray-3/+1
2021-11-22Revert "Temporarily rename int_roundings functions to avoid conflicts"Jacob Pratt-26/+26
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-14Fix incorrect feature flagsJacob Pratt-2/+2
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