about summary refs log tree commit diff
path: root/library/core/src/num/mod.rs
AgeCommit message (Expand)AuthorLines
2023-10-26Refactor some `char`, `u8` ascii functions to be branchlessokaneco-3/+6
2023-10-23fix typos in commentsGoodDaisy-1/+1
2023-10-03Bump version placeholdersMark Rousskov-1/+1
2023-09-03Stabilize the Saturating type (saturating_int_impl, gh-87920)Michael Watzko-2/+1
2023-06-16[libs] Simplify `unchecked_{shl,shr}`Scott McMurray-12/+5
2023-05-14Auto merge of #92048 - Urgau:num-midpoint, r=scottmcmbors-0/+59
2023-05-03Add the basic `ascii::Char` typeScott McMurray-1/+10
2023-04-26Implement midpoint for all signed and unsigned integersLoïc BRANSTETT-0/+59
2023-04-17fix codegen differenceDeadbeef-0/+18
2023-04-16more hacksDeadbeef-1/+0
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