summary refs log tree commit diff
path: root/src/libcore/num/mod.rs
AgeCommit message (Expand)AuthorLines
2018-01-24Auto merge of #46931 - clarcharr:float_bits_core, r=alexcrichtonbors-0/+11
2018-01-07Rollup merge of #46947 - tspiteri:checked-div-rem-none, r=frewsxcvkennytm-4/+4
2017-12-24Add "Basic Usage" to int min_value, max_value docsNikolai Vazquez-0/+8
2017-12-23Move Bits constraints to RawFloat::RawBitsClar Charr-1/+1
2017-12-22Expose float from_bits and to_bits in libcore.Clar Charr-0/+11
2017-12-22doc: improve None condition doc for `checked_div` and `checked_rem`Trevor Spiteri-4/+4
2017-12-22Rollup merge of #46898 - tspiteri:int-overflow-not-underflow, r=steveklabnikkennytm-8/+8
2017-12-22Rollup merge of #46820 - nodakai:simplify-int-impl, r=alexcrichtonkennytm-151/+52
2017-12-21docs: do not call integer overflows as underflowsTrevor Spiteri-8/+8
2017-12-19libcore/num/mod.rs: simplify the int_impl! macro.NODA, Kai-151/+52
2017-12-17Display binary notation for numeric swap_bytes methods.Corey Farwell-6/+12
2017-12-12Auto merge of #46411 - rillian:str_ascii, r=kennytmbors-6/+6
2017-12-03Consistent parameter name for numeric ‘checked’ operations.Corey Farwell-69/+69
2017-12-02Mark ascii methods on primitive types stable in 1.23.0.Ralph Giles-6/+6
2017-11-29Rollup merge of #46287 - SimonSapin:stable-constness, r=aturonkennytm-4/+0
2017-11-29Rollup merge of #46077 - LukasKalbertodt:stabilize-ascii-ctype, r=alexcrichtonkennytm-10/+10
2017-11-28Change `since` attribute from ctype methods from 1.23 to 1.24Lukas Kalbertodt-10/+10
2017-11-26Stabilize const-calling existing const-fns in stdSimon Sapin-4/+0
2017-11-24Expand docs of <$Int>::from_str_radix, based on that of char::to_digitSimon Sapin-0/+18
2017-11-18Stabilize `ascii_ctype` methods for `u8` and `char`Lukas Kalbertodt-10/+10
2017-11-14Fixed several pulldown warnings when documenting libstd.kennytm-1/+1
2017-11-05Auto merge of #44042 - LukasKalbertodt:ascii-methods-on-instrinsics, r=alexcr...bors-0/+644
2017-11-04Use Add::add for overflow checks instead of [rustc_inherit_overflow_checks]Scott McMurray-2/+3
2017-11-03Fix #18604: next_power_of_two should panic on overflowScott McMurray-0/+1
2017-11-03Mark several ascii methods as unstable againLukas Kalbertodt-10/+30
2017-11-03Fix lists in doc comments for ascii methods of u8 and charLukas Kalbertodt-2/+4
2017-11-03Add missing space in match armLukas Kalbertodt-2/+2
2017-11-03Tweak documentation for `u8::eq_ignore_ascii_case()`Lukas Kalbertodt-2/+1
2017-11-03Revert signature of eq_ignore_ascii_case() to originalLukas Kalbertodt-2/+2
2017-11-03Make ascii methods on u8 insta-stableLukas Kalbertodt-48/+16
2017-11-03Add all methods of AsciiExt to u8 directlyLukas Kalbertodt-0/+655
2017-10-26Bump to 1.23 and update bootstrapAlex Crichton-4/+4
2017-09-29Auto merge of #44174 - jimmycuadra:try-from-infallible, r=sfacklerbors-29/+21
2017-09-29Fix more TryFrom impls for integers.Jimmy Cuadra-4/+4
2017-09-29Simplify implementation of From<Infallible> for TryFromIntError.Jimmy Cuadra-2/+3
2017-09-28Remove conflicting TryFrom impls on 32-bit targets.Jimmy Cuadra-2/+2
2017-09-23Add back mistakenly removed numeric conversions.Jimmy Cuadra-4/+4
2017-09-16change #![feature(const_fn)] to specific gatesAlex Burka-0/+4
2017-09-01impl From<Infallible> for TryFromIntError.Jimmy Cuadra-1/+8
2017-08-30Implement TryFrom explicitly for infallible numeric conversions.Jimmy Cuadra-6/+8
2017-08-29Add blanket TryFrom impl when From is implemented.Jimmy Cuadra-27/+9
2017-07-30Document the `from_str_radix` panicTobias Bucher-0/+4
2017-07-26Rollup merge of #43471 - ollie27:try_from_ints, r=nagisaMark Simulacrum-11/+14
2017-07-25Bump master to 1.21.0Alex Crichton-13/+8
2017-07-25Add missing impl and tests for int to int TryFrom implsOliver Middleton-11/+14
2017-07-25Auto merge of #43248 - llogiq:num-try-from, r=nagisabors-38/+177
2017-07-24improve the TryFrom implementationsAndre Bogus-38/+177
2017-07-20std: Cut down #[inline] annotations where not necessaryAlex Crichton-11/+11
2017-06-16Auto merge of #42430 - nagisa:core-float, r=alexcrichtonbors-0/+7
2017-06-14Re-implement float min/max in rustSimonas Kazlauskas-0/+7