rust/src/libcore/num
Jethro Beekman cdc6afed38 Add non-panicking abs() functions to all signed integer types.
Currently, calling abs() on one of the signed integer types might panic (in
debug mode at least) because the absolute value of the largest negative value
can not be represented in that signed type. Unlike all other integer
operations, there is currently not a non-panicking version on this function.
This seems to just be an oversight in the design, therefore just adding it now.
2016-07-28 09:05:43 -07:00
..
dec2flt std: Stabilize APIs for the 1.11.0 release 2016-07-03 10:49:01 -07:00
flt2dec std: Stabilize APIs for the 1.11.0 release 2016-07-03 10:49:01 -07:00
bignum.rs require the non-last elements of a tuple to be Sized 2016-05-03 18:30:10 +03:00
diy_float.rs Reorganize core::num internals 2015-09-20 18:39:08 +02:00
f32.rs Rollup merge of #34277 - ollie27:docs_num, r=steveklabnik 2016-07-06 19:13:06 -04:00
f64.rs Rollup merge of #34277 - ollie27:docs_num, r=steveklabnik 2016-07-06 19:13:06 -04:00
float_macros.rs std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
i8.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
i16.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
i32.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
i64.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
int_macros.rs Add/improve num const docs 2016-06-14 21:23:21 +01:00
isize.rs Support 16-bit pointers as well as i/usize 2016-05-19 13:55:13 -04:00
mod.rs Add non-panicking abs() functions to all signed integer types. 2016-07-28 09:05:43 -07:00
u8.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
u16.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
u32.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
u64.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
uint_macros.rs Add/improve num const docs 2016-06-14 21:23:21 +01:00
usize.rs Support 16-bit pointers as well as i/usize 2016-05-19 13:55:13 -04:00
wrapping.rs Support 16-bit pointers as well as i/usize 2016-05-19 13:55:13 -04:00