summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
2018-04-24core: Minor cleanupDaiki Mizukami-1/+1
2018-04-24core: Fix overflow in `int::mod_euc` when `self < 0 && rhs == MIN`Daiki Mizukami-1/+5
2018-04-22Auto merge of #49896 - SimonSapin:inherent, r=alexcrichtonbors-92/+591
2018-04-21Make the unstable StrExt and SliceExt traits private to libcore in not(stage0)Simon Sapin-19/+12
2018-04-21Move intrinsics-based float methods out of libcore into libstdSimon Sapin-72/+0
2018-04-21Add some f32 and f64 inherent methods in libcoreSimon Sapin-1/+579
2018-04-20Revert "Stabilize the TryFrom and TryInto traits"Felix S. Klock II-6/+6
2018-04-14Rollup merge of #49871 - SimonSapin:int-bytes, r=sfacklerkennytm-0/+89
2018-04-14Add to_bytes and from_bytes to primitive integersSimon Sapin-0/+89
2018-04-13Auto merge of #49389 - fanzier:euclidean-division, r=KodrAusbors-0/+440
2018-04-12Address more nits.Fabian Zaiser-7/+6
2018-03-30Deprecate signed std::num::NonZeroI* with a call for use casesSimon Sapin-7/+23
2018-03-29Fix doctest (typo).Fabian Zaiser-2/+2
2018-03-28Fix #![feature]s.Fabian Zaiser-37/+40
2018-03-28Address nits and tidy errors.Fabian Zaiser-13/+15
2018-03-27Remove TryFrom impls that might become conditionally-infallible with a portab...Simon Sapin-60/+10
2018-03-26Stabilize the TryFrom and TryInto traitsSimon Sapin-7/+7
2018-03-26Don’t use `type Error = !` for target-dependant TryFrom impls.Simon Sapin-1/+1
2018-03-26TryFrom for integers: use From instead for truely-infallible implsSimon Sapin-9/+20
2018-03-26Implement RFC #2169 (Euclidean division).Fabian Zaiser-0/+436
2018-03-26fix last two tidyMark Mansi-7/+1
2018-03-26Fix a few moreMark Mansi-2/+2
2018-03-26Fix missed i128 feature gatesMark Mansi-12/+12
2018-03-26Stabilize i128 feature tooMark Mansi-11/+4
2018-03-26Stabilize i128_typeMark Mansi-4/+2
2018-03-23Rollup merge of #48265 - SimonSapin:nonzero, r=KodrAusAlex Crichton-0/+89
2018-03-22Rollup merge of #49038 - canndrew:replace-infallible-with-never, r=SimonSapinkennytm-9/+8
2018-03-19Fix trailing whitespacePhlosioneer-1/+1
2018-03-19Make Wrapping::pow use wrapping_pow, add examplePhlosioneer-4/+14
2018-03-19Impl Integer methods for WrappingPhlosioneer-0/+299
2018-03-18num::NonZero* types now have their own tracking issue: #49137Simon Sapin-2/+2
2018-03-17Deprecate core::nonzero in favor of ptr::NonNull and num::NonZero*Simon Sapin-1/+3
2018-03-17Add 12 num::NonZero* types for each primitive integerSimon Sapin-0/+87
2018-03-16Add From<!> for TryFromIntErrorAndrew Cann-0/+7
2018-03-15replace `convert::Infallible` with `!`Andrew Cann-13/+5
2018-03-08Rollup merge of #48738 - Songbird0:parseinterror_potential_cause, r=joshtriplettManish Goregaokar-0/+7
2018-03-06Add reverse_bits to integer typesAmanieu d'Antras-0/+54
2018-03-05Fix spelling error for `whitespaces`.Songbird0-1/+1
2018-03-05Modify wording and remove useless whitespaces.Songbird0-3/+3
2018-03-04Tidy error: add a new lineSongbird0-1/+2
2018-03-04Add a potential cause raising `ParseIntError`.Songbird0-0/+6
2018-02-28Rollup merge of #48321 - milesand:no_panic_pow, r=alexcrichtonkennytm-0/+308
2018-02-25Rollup merge of #48235 - varkor:parse-float-lonely-exponent, r=alexcrichtonkennytm-1/+2
2018-02-24Fixes docs for ASCII functions to no longer claim U+0021 is '@'.Nathan Ringo-1/+1
2018-02-21Take 2^5 as examples in document of pow() (fixes #48396)Hidehito Yabuuchi-2/+2
2018-02-19Make ".e0" not parse as 0.0varkor-1/+2
2018-02-19Add non-panicking variants of pow to all integer typesJewoo Lee-0/+308
2018-02-17Rollup merge of #48152 - antoyo:primitive-docs-relevant, r=QuietMisdreavusGuillaume Gomez-1671/+1914
2018-02-16Notify users that this example is shared through integer typesGuillaume Gomez-19/+47
2018-02-14Add missing featureGuillaume Gomez-218/+270