about summary refs log tree commit diff
path: root/library/core/src/num/nonzero.rs
AgeCommit message (Expand)AuthorLines
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-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-02-03Add missing const stability attributesJacob Pratt-0/+1
2022-01-25Implement `MIN`/`MAX` constants for non-zero integersNikolai Vazquez-0/+101
2022-01-15Add `log2` and `log10` to `NonZeroU*`Scott McMurray-1/+51
2021-11-27Stabilize nonzero_is_power_of_twoScott McMurray-3/+1
2021-10-22Added const versions of common numeric operationsAlexApps99-7/+14
2021-10-20Make `From` impls of NonZero integer const.woppopo-1/+1
2021-10-18Make more `From` impls `const`woppopo-1/+2
2021-10-11Rollup merge of #89729 - jkugelman:must-use-core-std-constructors, r=joshtrip...Guillaume Gomez-0/+2
2021-10-10Rollup merge of #89720 - jkugelman:must-use-math-operations, r=joshtriplettMatthias Krüger-0/+34
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+2
2021-10-09Add #[must_use] to math and bit manipulation methodsJohn Kugelman-0/+34
2021-10-09Add #[must_use] to is_condition testsJohn Kugelman-0/+1
2021-09-20Mark unsafe NonZero*::unchecked_(add|mul) as constIago-lito-2/+2
2021-06-12Stop relying on #[feature(try_trait)] in doctests.Iago-lito-45/+45
2021-06-09Fix diverging doc regarding signedness.Iago-lito-18/+44
2021-06-09Explicit what `check` means on concerned method.Iago-lito-9/+20
2021-06-09NonZero saturating_pow.Iago-lito-0/+29
2021-06-09NonZero checked_pow.Iago-lito-0/+33
2021-06-09NonZero unchecked_mul.Iago-lito-0/+28