about summary refs log tree commit diff
path: root/library/core/src/num/nonzero.rs
AgeCommit message (Expand)AuthorLines
2023-08-15Add alignment to the NPO guaranteeScott McMurray-0/+14
2023-06-15Correct types in method descriptions of `NonZero*` typeszica-9/+12
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-14/+14
2023-05-16Auto merge of #111044 - jmillikin:nonzero-negation, r=dtolnaybors-18/+12
2023-05-14Auto merge of #92048 - Urgau:num-midpoint, r=scottmcmbors-0/+37
2023-05-05Stabilize feature `nonzero_negation_ops`John Millikin-18/+12
2023-05-04Add `is_positive` method for signed non-zero integers.John Millikin-0/+26
2023-04-28replace version placeholdersPietro Albini-4/+4
2023-04-26Implement midpoint for all unsigned NonZeroU{8,16,32,64,128,size}Loïc BRANSTETT-0/+37
2023-04-20Implement `Neg` for signed non-zero integers.John Millikin-3/+16
2023-04-16rm const traits in libcoreDeadbeef-16/+8
2023-04-05Auto merge of #94786 - joshlf:patch-5, r=dtolnaybors-0/+7
2023-01-09Remove unstable featureCaio-8/+0
2023-01-09Stabilize `nonzero_min_max`Caio-4/+4
2022-12-28update stabilization version numbersPietro Albini-5/+5
2022-12-04Auto merge of #101514 - nvzqz:nvzqz/stabilize-nonzero-bits, r=thomccbors-2/+1
2022-11-21Rollup merge of #104420 - TethysSvensson:master, r=JohnTitorMatthias Krüger-1/+1
2022-11-20Incorporate review feedbackTethys Svensson-4/+1
2022-11-14Fix doc example for `wrapping_abs`Tethys Svensson-0/+3
2022-11-13remove leading newlines from `NonZero*` doc examplesLukas Markeffsky-20/+6
2022-11-09Rollup merge of #103570 - lukas-code:stabilize-ilog, r=scottmcmDylan DPC-4/+4
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-1/+4
2022-10-26stabilize `int_log`Lukas Markeffsky-4/+4
2022-10-05Add missing trailing `)]`Joshua Liebow-Feeser-1/+1
2022-10-05Fix typo (missing `>`)Joshua Liebow-Feeser-1/+1
2022-10-05Update library/core/src/num/nonzero.rsJoshua Liebow-Feeser-0/+2
2022-09-29nonzero_negation_ops: `inline(always)` -> `inline`.John Millikin-1/+1
2022-09-29nonzero_negation_ops: Set `issue = "102443"`.John Millikin-5/+5
2022-09-27Add negation methods for signed non-zero integers.John Millikin-0/+154
2022-09-06Stabilize `nonzero_bits`Nikolai Vazquez-2/+1
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-1/+1
2022-08-30Make docs formulation more consistent for NonZero{int}yjhn-12/+12
2022-08-09Rename integer log* methods to ilog*Eric Holk-10/+10
2022-07-19Suggest a fix for `NonZero*` <- `*` coercion errorMaybe Waffle-0/+1
2022-06-26Fix spelling in SAFETY commentWilfred Hughes-2/+2
2022-06-26Update `since` to 1.64 (since we're after 1.63)scottmcm-26/+26
2022-06-09Stabilize NonZero* checked operations constness.Iago-lito-13/+13
2022-06-09Partial stabilization of "nonzero_unchecked_ops".Iago-lito-26/+26
2022-05-13Remove some unnecessary `rustc_allow_const_fn_unstable` attributes.Nicholas Nethercote-1/+0
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-1/+5
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-1/+1
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-1/+5
2022-03-12Use `Self::BITS` in `log2` implementationNikolai Vazquez-1/+1
2022-03-12Implement `BITS` constant for non-zero integersNikolai Vazquez-0/+38
2022-03-11Rollup merge of #93293 - nvzqz:nonzero-min-max, r=joshtriplettDylan DPC-0/+101
2022-03-10Move note about 0 gap to signed integersNikolai Vazquez-8/+8
2022-03-09Add missing closing parenthesisJoshua Liebow-Feeser-1/+1
2022-03-09Document NonZeroXxx layout guaranteesJoshua Liebow-Feeser-0/+5
2022-02-03Add missing const stability attributesJacob Pratt-0/+1
2022-01-25Implement `MIN`/`MAX` constants for non-zero integersNikolai Vazquez-0/+101