about summary refs log tree commit diff
path: root/library/core/src/num/mod.rs
AgeCommit message (Expand)AuthorLines
2022-04-15Make some `usize`-typed masks definition agnostic to the size of `usize`Eduardo Sánchez Muñoz-0/+21
2022-04-12Fix spelling in docs for can_not_overflowwcampbell-1/+1
2022-04-12Auto merge of #95399 - gilescope:plan_b, r=scottmcmbors-37/+65
2022-04-10No need to use DefaultGiles Cope-3/+3
2022-04-10Use Add, Sub, Mul traits instead of unsafeGiles Cope-40/+20
2022-04-08Use bitwise XOR in to_ascii_uppercaseRedzic-2/+2
2022-04-05trivial cfg(bootstrap) changesPietro Albini-16/+0
2022-04-04from_u32(0) can just be default()Giles Cope-15/+10
2022-04-02need guidence on testingGiles Cope-9/+20
2022-04-02incorporating feedbackGiles Cope-34/+42
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-1/+1
2022-03-30remove now unnecessary lang itemslcnr-16/+16
2022-03-28Inline u8::is_utf8_char_boundaryKonrad Borowski-0/+1
2022-03-26Using macro to avoid performance hit (thanks LingMan)gilescope-7/+13
2022-03-26Update library/core/src/num/mod.rsSquirrel-1/+1
2022-03-26Better explanationGiles Cope-6/+7
2022-03-26Update library/core/src/num/mod.rsSquirrel-1/+5
2022-03-26removed likelyGiles Cope-3/+1
2022-03-26Update library/core/src/num/mod.rsSquirrel-2/+2
2022-03-26Update library/core/src/num/mod.rsSquirrel-2/+2
2022-03-26add likely and clearer commentsGiles Cope-3/+13
2022-03-26faster parsing when not possible to overflowGiles Cope-35/+50
2022-03-21Add u16::is_utf16_surrogateltdk-0/+25
2022-03-06Constify slice index for stringsDeadbeef-1/+1
2022-02-12Stabilise inherent_ascii_escape (FCP in #77174)ltdk-2/+1
2022-02-12Fix signature of u8::escape_asciiltdk-2/+2
2022-02-07Add {floor,ceil}_char_boundary methods to strltdk-0/+5
2022-01-15Add `log2` and `log10` to `NonZeroU*`Scott McMurray-8/+8
2021-11-19Turn all 0x1b_u8 into '\x1b' or b'\x1b'r00ster91-10/+10
2021-11-12Remove bigint_helper_methods for *signed* typesScott McMurray-14/+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/+48
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