about summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
2018-07-30Revert "Stabilize to_bytes and from_bytes for integers."Simon Sapin-4/+12
2018-07-11use proper footnote syntax for referencesAndy Russell-13/+11
2018-07-08Fix some linksGuillaume Gomez-4/+4
2018-07-04Auto merge of #51395 - SimonSapin:repr-transparent, r=SimonSapinbors-0/+2
2018-07-03Auto merge of #51564 - SimonSapin:try-int, r=alexcrichtonbors-10/+60
2018-06-30Bootstrap from 1.28.0-beta.3Mark Simulacrum-193/+0
2018-06-26Stabilize to_bytes and from_bytes for integers.Thayne McCombs-12/+4
2018-06-16Add #[repr(transparent)] to some libcore typesSimon Sapin-0/+2
2018-06-10add some docs to conversionsAndre Bogus-13/+39
2018-06-06Make the size of Option<NonZero*> a documented guarantee.Simon Sapin-2/+2
2018-06-06Revert "Remove TryFrom impls that might become conditionally-infallible with ...Simon Sapin-10/+60
2018-06-03Rollup merge of #51299 - faern:const-int-ops, r=oli-obkMark Simulacrum-14/+280
2018-06-02Rollup merge of #50919 - frewsxcv:frewsxcv-epsilon, r=steveklabnikMark Simulacrum-2/+10
2018-06-02Make integer methods non-const in stage0Linus Färnstrand-0/+192
2018-06-02Make most integer operations const fnsLinus Färnstrand-40/+114
2018-06-02Auto merge of #50554 - clarcharr:from_bool, r=TimNNbors-0/+14
2018-06-01Add From<bool> for int typesClar Charr-0/+14
2018-06-01Add missing whitespace in num exampleGuillaume Gomez-1/+1
2018-05-28Auto merge of #50465 - clarcharr:wrapping, r=KodrAusbors-199/+488
2018-05-28Provide more context for what the {f32,f64}::EPSILON values represent.Corey Farwell-2/+10
2018-05-22Remove the unstable Float traitSimon Sapin-372/+166
2018-05-17Switch to 1.26 bootstrap compilerMark Simulacrum-8/+2
2018-05-17Rollup merge of #50808 - SimonSapin:nonzero, r=alexcrichtonkennytm-28/+8
2018-05-16Stabilize num::NonZeroU*Simon Sapin-9/+7
2018-05-16Remove unstable deprecated num::NonZeroI* typesSimon Sapin-17/+1
2018-05-16Make core::nonzero privateSimon Sapin-3/+1
2018-05-16fix a typo in signed-integer::from_str_radix()SHA Miao-1/+1
2018-05-15Separate feature gate for wrapping_next_power_of_twoClar Charr-4/+6
2018-05-09move See also links to topMichael Lamparski-4/+4
2018-05-08Add missing Wrapping methods, use doc_comment!Clar Charr-199/+486
2018-05-08Add more logarithm constantsClar Charr-0/+16
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