about summary refs log tree commit diff
path: root/library/core/src/num/mod.rs
AgeCommit message (Expand)AuthorLines
2021-10-09Add #[must_use] to is_condition testsJohn Kugelman-0/+11
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-01Add functions to add unsigned and signed integersBenoƮt du Garreau-8/+8
2021-08-31Rollup merge of #85017 - clarfonthey:carrying_widening, r=m-ou-seMara Bos-0/+87
2021-08-30Expand documentation for `FpCategory`.Kevin Reid-4/+22
2021-08-26Add carrying_add, borrowing_sub, widening_mul, carrying_mul methods to integersltdk-0/+87
2021-08-10Add Saturating type (based on Wrapping type)Michael Watzko-0/+4
2021-08-03Use .contains instead of manual reimplementation. frogtd-1/+1
2021-07-26Document math behind MIN/MAX consts on integersSmitty-8/+8
2021-07-07special case for integer log10Trevor Spiteri-0/+1
2021-07-04Auto merge of #86048 - nbdd0121:no_floating_point, r=Amanieubors-0/+6
2021-07-02core: add unstable `no_fp_fmt_parse` to disable float fmt/parse codeGary Guo-0/+5
2021-06-23Use HTTPS links where possibleSmitty-2/+2
2021-06-22postpone stabilizaton by one releaseEthan Brierley-1/+1
2021-06-14stabilize `int_error_matching`Ethan Brierley-6/+1
2021-06-06Move `flt2dec::{Formatted, Part}` to dedicated moduleGary Guo-0/+1
2021-03-28Add escape_default method to u8 and [u8]ltdk-0/+26
2021-02-25Rollup merge of #82078 - lopopolo:char-u8-const-fn, r=m-ou-seDylan DPC-4/+7
2021-02-23Make ascii_change_case_unchecked constRyan Lopopolo-1/+1
2021-02-23Update since attributes for new const_ascii_methods_on_intrinsics to 1.52.0Ryan Lopopolo-3/+3
2021-02-23Make char methods constYenForYang-3/+6
2021-02-23Convert core/num/mod.rs to intra-doc linksJoshua Nelson-7/+4
2021-02-14Move const def nearer usage.Giles Cope-3/+3
2021-02-12Slightly more explicitGiles Cope-1/+9
2021-02-08Unify way to flip 6th bit. (Same assembly generated)Giles Cope-2/+3
2020-12-30Remove all doc_comment!{} hacks by using #[doc = expr] where needed.Mara Bos-23/+16
2020-11-09Rollup merge of #77640 - ethanboxx:int_error_matching_attempt_2, r=KodrAusDylan DPC-9/+13
2020-11-05Correct unsigned equivalent of isize to be usizeJacob Pratt-3/+3
2020-10-26Apply suggested changesEthan Brierley-4/+9
2020-10-06remove OnlySign in favour of InvalidDigitEthan Brierley-4/+3
2020-10-06Bring char along with InvalidDigitEthan Brierley-2/+2
2020-10-06Fill in things needed to stabilize int_error_matchingEthan Brierley-6/+6
2020-09-19Remove outdated ignored tidy commentLzu Tao-2/+0
2020-09-19Move (u)int_impl macros to their own filesLzu Tao-4158/+5
2020-09-19Move error structs to new modLzu Tao-162/+23
2020-09-19Move Wrapping<T> definition to wrapping modLzu Tao-73/+3
2020-09-19Move NonZero* to its fileLzu Tao-176/+7
2020-09-19Add tracking issue number for int_bits_const.Mara Bos-2/+2
2020-09-19Add example/test to <int types>::BITS.Mara Bos-6/+26
2020-09-19Add `BITS` associated constant to all integer types.Mara Bos-0/+8
2020-09-15Add missing code examples in libcoreGuillaume Gomez-0/+20
2020-09-08Capitalize safety commentsFlying-Toast-3/+3
2020-09-04Minor grammar fix in doc comment for soft-deprecated methodsWilfred Hughes-2/+2
2020-08-22Fix typo in documentation of i32 wrapping_abs()JR Heard-1/+1
2020-08-07clean up const-hacks in int endianess conversion functionsRalf Jung-28/+8
2020-08-06Note about endianness of returned valueLzu Tao-6/+6
2020-07-29add `unsigned_abs` to signed integerscarbotaniuman-0/+23
2020-07-27mv std libs to library/mark-0/+5359