summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2022-05-28Corrected EBNF grammar for from_strIsaac Chen-1/+0
2022-05-23Rollup merge of #96129 - mattheww:2022-04_float_rounding, r=Dylan-DPCDylan DPC-2/+4
2022-05-15Rename `eq_ignore_case` to `starts_with_ignore_case`gabriel-doriath-dohler-4/+4
2022-05-13Remove some unnecessary `rustc_allow_const_fn_unstable` attributes.Nicholas Nethercote-1/+0
2022-05-09Rollup merge of #95483 - golddranks:improve_float_docs, r=joshtriplettMatthias Krüger-38/+120
2022-05-09Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errorsbors-110/+62
2022-05-04Update `int_roundings` methods from feedbackJacob Pratt-10/+32
2022-05-02Fix nitsPyry Kontio-8/+8
2022-05-02Rollup merge of #96567 - alex-semenyuk:fix_docs_for_logs_func, r=Mark-SimulacrumYuki Okushi-6/+6
2022-04-29Fix documentation for log functions intalexey semenyuk-3/+3
2022-04-29Fix documentation for log functions unsigned intalexey semenyuk-3/+3
2022-04-23Auto merge of #95971 - workingjubilee:no-weird-fp-in-const, r=oli-obkbors-18/+298
2022-04-22Remove unnecessary const-time x87-related checksJubilee Young-32/+16
2022-04-22Fix comments for float classifyJubilee Young-5/+11
2022-04-16Document the numeric value returned by string parsing for floatsMatthew Woodcraft-2/+4
2022-04-15Make some `usize`-typed masks definition agnostic to the size of `usize`Eduardo Sánchez Muñoz-0/+21
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-110/+62
2022-04-12Fix spelling in docs for can_not_overflowwcampbell-1/+1
2022-04-12Ban subnormals and NaNs in const {from,to}_bitsJubilee Young-8/+211
2022-04-12Rectify float classification impls for weird FPUsJubilee Young-16/+103
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-18/+0
2022-04-04from_u32(0) can just be default()Giles Cope-15/+10
2022-04-04Stabilize total_cmpPyry Kontio-4/+2
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-1/+5
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-8/+8
2022-03-31Re-introduce "propagating NaN" to `maximum`/`minimum`, add "ignoring NaN" to ...Pyry Kontio-8/+20
2022-03-31Add references to explanation about portability to f{32,64}::{from,to}_{be,le...Pyry Kontio-0/+36
2022-03-31Fix: is_sign_positive -> is_sign_negativePyry Kontio-2/+2
2022-03-31Improve floating point documentation:Pyry Kontio-34/+68
2022-03-30remove now unnecessary lang itemslcnr-18/+18
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-1/+5
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-24Auto merge of #94517 - aDotInTheVoid:inline_wrapping_next_power_two, r=yaahcbors-0/+1
2022-03-21Add u16::is_utf16_surrogateltdk-0/+25
2022-03-12Use `Self::BITS` in `log2` implementationNikolai Vazquez-1/+1