rust/src/libcore/num
kennytm 0652af21b5
Rollup merge of #48235 - varkor:parse-float-lonely-exponent, r=alexcrichton
Make ".e0" not parse as 0.0

This forces floats to have either a digit before the separating point, or after. Thus `".e0"` is invalid like `"."`, when using `parse()`. Fixes #40654. As mentioned in the issue, this is technically a breaking change... but clearly incorrect behaviour at present.
2018-02-25 21:36:46 +08:00
..
dec2flt Make ".e0" not parse as 0.0 2018-02-19 14:53:30 +00:00
flt2dec use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
bignum.rs docs: do not call integer overflows as underflows 2017-12-21 02:39:01 +01:00
diy_float.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
f32.rs Use constant for 180/π in to_degrees 2018-02-01 18:35:51 +00:00
f64.rs Use constant for 180/π in to_degrees 2018-02-01 18:35:51 +00: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 Fixes docs for ASCII functions to no longer claim U+0021 is '@'. 2018-02-24 23:48:51 -06: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 Manuall rebase of @Migi pull/41336 2017-09-03 09:12:22 -04:00