about summary refs log tree commit diff
path: root/library/core/src/num/mod.rs
AgeCommit message (Expand)AuthorLines
2023-03-27Fix ASCII case commentclubby789-1/+1
2023-02-20Use named arguments for `int_impl` macroNilstrieb-34/+162
2023-02-20Use named arguments for `uint_impl` macroNilstrieb-33/+155
2023-02-10Remove a couple of `#[doc(hidden)] pub fn` and their `#[feature]` gatesTobias Bucher-12/+0
2022-12-08Fix warning when libcore is compiled with no_fp_fmt_parseGary Guo-1/+3
2022-10-23`unchecked_{shl|shr}` should use `u32` as the RHSScott McMurray-0/+1
2022-10-03Rollup merge of #101308 - nerdypepper:feature/is-ascii-octdigit, r=joshtriplettMatthias Krüger-0/+32
2022-10-03Rollup merge of #100470 - reitermarkus:patch-1, r=joshtriplettMatthias Krüger-1/+1
2022-09-27introduce `{char, u8}::is_ascii_octdigit`Akshay-0/+32
2022-09-26remove cfg(bootstrap)Pietro Albini-2/+0
2022-09-18Add another example for `uN::carrying_mul`Scott McMurray-0/+30
2022-08-22Move error trait into coreJane Losare-Lusby-0/+12
2022-08-15Fix trailing space showing up in exampleTitus-1/+1
2022-08-13Tweak `FpCategory` example order.Markus Reiter-1/+1
2022-07-11Clarify that [iu]size bounds were only defined for the target archSOFe-16/+22
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