summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
2018-02-01Use constant for 180/π in to_degreesvarkor-1/+6
2018-01-24Auto merge of #46931 - clarcharr:float_bits_core, r=alexcrichtonbors-50/+69
2018-01-07Rollup merge of #46947 - tspiteri:checked-div-rem-none, r=frewsxcvkennytm-4/+4
2017-12-30Optimise min/maxvarkor-4/+4
2017-12-26Rollup merge of #46986 - nvzqz:basic-usage, r=steveklabnikkennytm-0/+8
2017-12-26Rollup merge of #46933 - clarcharr:float_docs, r=steveklabnikkennytm-2/+12
2017-12-24Add "Basic Usage" to int min_value, max_value docsNikolai Vazquez-0/+8
2017-12-23Move Bits constraints to RawFloat::RawBitsClar Charr-5/+20
2017-12-22Expose float from_bits and to_bits in libcore.Clar Charr-47/+51
2017-12-22doc: improve None condition doc for `checked_div` and `checked_rem`Trevor Spiteri-4/+4
2017-12-21Make core::f32/f64 docs match std.Clar Charr-2/+12
2017-12-22Rollup merge of #46898 - tspiteri:int-overflow-not-underflow, r=steveklabnikkennytm-9/+9
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-9/+9
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-30Auto merge of #44936 - Mark-Simulacrum:rollup, r=Mark-Simulacrumbors-0/+12
2017-09-29Rollup merge of #44287 - Eh2406:master, r=aturonMark Simulacrum-0/+12
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-04Removed the incorrect documentation for from_strMax Comstock-1/+0
2017-09-03Manuall rebase of @Migi pull/41336Eh2406-0/+12
2017-09-01impl From<Infallible> for TryFromIntError.Jimmy Cuadra-1/+8
2017-08-31Update bootstrap compilerAlex Crichton-2/+0
2017-08-30Implement TryFrom explicitly for infallible numeric conversions.Jimmy Cuadra-6/+8