summary refs log tree commit diff
path: root/src/libcore/num/mod.rs
AgeCommit message (Expand)AuthorLines
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
2017-06-08Use ctlz_nonzero to improve ASM from next_power_of_twoScott McMurray-1/+16
2017-06-08Auto merge of #40706 - irfanhudda:doc-next-power-of-two, r=alexcrichtonbors-11/+27
2017-05-31Simplify helper functionsIrfan Hudda-15/+13
2017-05-23Add comments to explain helper functionsIrfan Hudda-5/+13
2017-05-20Correct some stability versionsOliver Middleton-45/+45
2017-05-12Remove some unused macros from the rust codebaseest31-7/+0
2017-04-29Update stage0 bootstrap compilerAlex Crichton-72/+0
2017-04-29Simplify `checked_next_power_of_two` functionIrfan Hudda-6/+1
2017-04-29Add comment about overflow behavior for next_power_of_twoIrfan Hudda-0/+3
2017-04-28Add helper functions for `next_power_of_two` and `checked_next_power_of_two`Irfan Hudda-10/+14
2017-04-20Remove float_extrasJosh Stone-51/+0
2017-04-20Remove num::{Zero,One}Josh Stone-72/+0
2017-04-20remove redundant wrapping_subIrfan Hudda-1/+1
2017-04-19next_power_of_two panic on overflowIrfan Hudda-2/+8
2017-04-18Improve documentation of next_power_of_twoIrfan Hudda-1/+3
2017-04-03Move libXtest into libX/testsStjepan Glavina-1/+1
2017-03-22Various fixes to wording consistency in the docsStjepan Glavina-4/+4
2017-03-19Rollup merge of #40521 - TimNN:panic-free-shift, r=alexcrichtonCorey Farwell-18/+99
2017-03-19Rollup merge of #40281 - jimmycuadra:try-from-from-str, r=aturonCorey Farwell-3/+3
2017-03-18add inline attributes to stage 0 methodsTim Neumann-0/+4
2017-03-15Rename TryFrom's associated type and implement str::parse using TryFrom.Jimmy Cuadra-3/+3
2017-03-15make shift builtins panic-free with new unchecked_sh* intrinsicsTim Neumann-18/+95
2017-03-13Remove function invokation parens from documentation links.Corey Farwell-5/+5
2017-02-04Fix TryFrom for i128/u128Oliver Middleton-4/+4
2017-02-03Bump version, upgrade bootstrapAlex Crichton-75/+3
2016-12-30Fix rebase falloutest31-0/+21
2016-12-30Such large. Very 128. Much bits.Simonas Kazlauskas-12/+98
2016-10-12run rustfmt on libcore/num folderSrinivas Reddy Thatiparthy-6/+8
2016-10-07rewrite checked_{div,rem} to no contain any reference to panicsJorge Aparicio-8/+6
2016-10-04Rollup merge of #36902 - ollie27:stab_impls, r=alexcrichtonManish Goregaokar-3/+3
2016-10-03std: Stabilize and deprecate APIs for 1.13Alex Crichton-9/+3
2016-10-01std: Correct stability attributes for some implementationsOliver Middleton-3/+3