rust/src/libcore/num
Phlosioneer 612c4a95bc Impl Integer methods for Wrapping
Wrapping<T> now implements:

count_ones, count_zeros, leading_zeros,
trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be,
from_le, to_be, to_le, and pow

where T is:

u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize.

Docs were written for all these methods, as well as examples. The
examples mirror the ones on u8, u16, etc... for consistency.

Closes #32463
2018-03-19 01:39:37 -04: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 Rollup merge of #48738 - Songbird0:parseinterror_potential_cause, r=joshtriplett 2018-03-08 11:25:58 -08: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 Impl Integer methods for Wrapping 2018-03-19 01:39:37 -04:00