summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2022-02-12Stabilise inherent_ascii_escape (FCP in #77174)ltdk-2/+1
2022-02-12Fix signature of u8::escape_asciiltdk-2/+2
2022-02-09Rollup merge of #93735 - m-ou-se:stabilize-int-abs-diff, r=joshtriplettYuki Okushi-4/+4
2022-02-08Rollup merge of #86497 - clarfonthey:nearest_char_boundary, r=scottmcmMatthias Krüger-0/+5
2022-02-07Add {floor,ceil}_char_boundary methods to strltdk-0/+5
2022-02-07Rollup merge of #93208 - kellerkindt:wrapping_int_assign_impl, r=m-ou-seMara Bos-0/+80
2022-02-07Mark int_abs_diff as const stable.Mara Bos-0/+2
2022-02-07Stabilize int_abs_diff in 1.60.0.Mara Bos-4/+2
2022-02-07Stabilize wrapping_int_assign_impl in 1.60.0.Mara Bos-8/+8
2022-02-06Rollup merge of #90998 - jhpratt:require-const-stability, r=oli-obkMatthias Krüger-0/+3
2022-02-04doc: use U+2212 for minus sign in integer MIN/MAX textTrevor Spiteri-3/+3
2022-02-03Add missing const stability attributesJacob Pratt-0/+3
2022-01-30review the total_cmp documentationSimonas Kazlauskas-38/+54
2022-01-26Unimpl {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}<$t> for Saturating<$t>Michael Watzko-122/+8
2022-01-25Impl {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}Assign<$t> for Wrapping<$t>Michael Watzko-0/+80
2022-01-18fix typo in `max` description for f32/f64klensy-2/+2
2022-01-17Rollup merge of #92960 - scottmcm:carrying-bignum, r=Mark-SimulacrumMatthias Krüger-37/+5
2022-01-17Rollup merge of #92956 - scottmcm:nonzero-log2, r=dtolnayMatthias Krüger-141/+197
2022-01-16Auto merge of #92356 - kellerkindt:saturating_int_assign_impl, r=dtolnaybors-0/+187
2022-01-15Use `carrying_{mul|add}` in `num::bignum`Scott McMurray-37/+5
2022-01-15Add `log2` and `log10` to `NonZeroU*`Scott McMurray-141/+197
2022-01-10Simplify BigNum::bit_length() with log2()Christopher Swenson-8/+6
2022-01-10Simplification of BigNum::bit_lengthChristopher Swenson-10/+3
2022-01-08Auto merge of #92068 - fee1-dead:libcore2021, r=m-ou-sebors-12/+0
2022-01-06add some missing must use to float opsasquared31415-0/+10
2021-12-28Add {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}{,Assign}<$t> to Saturating<$t>Michael Watzko-0/+187
2021-12-23Switch all libraries to the 2021 editionDeadbeef-12/+0
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