rust/src/libcore/num
bors fc02736d59 Auto merge of #39408 - ollie27:i128_try_from, r=alexcrichton
Fix TryFrom for i128/u128

Another case of `as` cast silent truncation being error prone.

This also adds a few missing TryFrom tests to libcoretest.

cc #33417
cc #35118
2017-02-05 16:57:29 +00:00
..
dec2flt Add missing Eq implementations 2016-09-18 14:26:49 +02:00
flt2dec Add missing Eq implementations 2016-09-18 14:26:49 +02:00
bignum.rs run rustfmt on libcore/num folder 2016-10-12 23:57:46 +05:30
diy_float.rs run rustfmt on libcore/num folder 2016-10-12 23:57:46 +05:30
f32.rs run rustfmt on libcore/num folder 2016-10-12 23:57:46 +05:30
f64.rs run rustfmt on libcore/num folder 2016-10-12 23:57:46 +05:30
float_macros.rs std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
i8.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
i16.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
i32.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
i64.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
i128.rs Make members of {std,core}::{i128,u128} unstable 2017-01-06 03:53:55 +01:00
int_macros.rs Fix a few impl stability attributes 2017-01-29 13:31:47 +00:00
isize.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
mod.rs Fix TryFrom for i128/u128 2017-02-04 23:10:28 +00:00
u8.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
u16.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
u32.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
u64.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
u128.rs Make members of {std,core}::{i128,u128} unstable 2017-01-06 03:53:55 +01:00
uint_macros.rs Fix a few impl stability attributes 2017-01-29 13:31:47 +00:00
usize.rs Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
wrapping.rs Rollup merge of #39393 - ollie27:stab_impls, r=alexcrichton 2017-02-05 09:14:45 -05:00