summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
2020-07-02Rollup merge of #73938 - nbdd0121:checked_opt, r=nagisaManish Goregaokar-27/+43
2020-07-01Optimise fast path of checked_ops with `unlikely`Gary Guo-27/+43
2020-06-30Deny unsafe ops in unsafe fns, part 6LeSeulArtichaut-3/+0
2020-06-30Deny unsafe ops in unsafe fns, part 3LeSeulArtichaut-9/+29
2020-06-29Auto merge of #73032 - yoshuawuyts:stabilize-leading_trailing_ones, r=Amanieubors-12/+12
2020-06-28Remove `const_if_match` feature gate from librariesDylan MacKenzie-3/+3
2020-06-12Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnayDylan DPC-37/+36
2020-06-11Update src/libcore/num/mod.rsAmanieu d'Antras-2/+2
2020-06-10Fix doctest templateMihail Malo-1/+2
2020-06-10Migrate to numeric associated constsLzu Tao-37/+36
2020-06-05stabilize leading_trailing_onesYoshua Wuyts-12/+12
2020-06-01Add associated consts MIN/MAX for Wrapping<Int>Lzu Tao-12/+4
2020-05-26Add tracing issue for total_cmpPyry Kontio-2/+2
2020-05-26Fix the same typos again orzPyry Kontio-4/+4
2020-05-26Add bit twiddlingPyry Kontio-15/+19
2020-05-26remove unneeded and unidiomatic must_usePyry Kontio-2/+0
2020-05-26Fix typo in src/libcore/num/f32.rsPyry Kontio-1/+1
2020-05-26Fix typo in src/libcore/num/f32.rsPyry Kontio-1/+1
2020-05-25Add total_cmp to f32 and f64, plus testsPyry Kontio-0/+146
2020-05-19Rollup merge of #71886 - t-rapp:tr-saturating-funcs, r=dtolnayDylan DPC-6/+4
2020-05-16Rollup merge of #72224 - lzutao:links, r=Dylan-DPCDylan DPC-8/+8
2020-05-15Auto merge of #69659 - CAD97:step-rework-take-3, r=Amanieubors-0/+102
2020-05-15doc: add links to rotate_(left|right)Lzu Tao-8/+8
2020-05-10doc: minus (U+2212) instead of dash (U+002D) for negative infinityTrevor Spiteri-2/+2
2020-05-05Rollup merge of #71845 - steveklabnik:add-const-examples, r=dtolnayDylan DPC-2/+318
2020-05-04Stabilize saturating_abs and saturating_negTobias Rapp-6/+4
2020-05-04Use f64 in f64 examplesSteve Klabnik-2/+2
2020-05-04Add examples to int macrosSteve Klabnik-2/+24
2020-05-04f64 examplesSteve Klabnik-0/+147
2020-05-04correct -> intendedSteve Klabnik-14/+14
2020-05-04add some whitespaceSteve Klabnik-0/+7
2020-05-04Add examples for std::f32 constants.Steve Klabnik-0/+140
2020-04-26Fix since attribute for nonzero_bitor impl'sJonas Platte-5/+5
2020-04-25Rollup merge of #69813 - thomcc:nonzero-bitor, r=AmanieuDylan DPC-0/+52
2020-04-20Use assoc float consts instead of module levelLinus Färnstrand-5/+4
2020-04-20Define module level int consts from assoc constsLinus Färnstrand-2/+2
2020-04-20Stop accessing module level int consts via crate::<Ty>Linus Färnstrand-1/+0
2020-04-16Dogfood or_patterns in the standard libraryJosh Stone-4/+4
2020-04-08Add inherent impls for unchecked math intrinsicsCAD97-0/+102
2020-04-05Make libcore float constant examples similar to libstdLinus Färnstrand-12/+4
2020-04-03Make documentation examples use new integer assoc constsLinus Färnstrand-3/+3
2020-04-03Rollup merge of #70708 - Pocakking:fix-ascii-case-conv-typo, r=sfacklerMazdak Farrokhzad-2/+2
2020-04-02Fix typo in u8::to_ascii_uppercase and u8::to_ascii_lowercasePocakking-2/+2
2020-03-29Stabilize float::to_int_uncheckedMark Rousskov-14/+10
2020-03-26Rename asm! to llvm_asm!Amanieu d'Antras-2/+2
2020-03-13update stable-since version for const_int_conversionTrevor Spiteri-12/+12
2020-03-11Rollup merge of #69373 - tspiteri:const_int_conversion, r=oli-obkMazdak Farrokhzad-16/+48
2020-03-07Implement BitOr and BitOrAssign for the NonZero integer typesThom Chiovoloni-0/+52
2020-03-04Auto merge of #68952 - faern:stabilize-assoc-int-consts, r=dtolnaybors-210/+255
2020-02-26Rollup merge of #69209 - Mark-Simulacrum:strip-unsafe, r=dtolnayDylan DPC-17/+15