num-traits/src/ops
Ed McCardell abb51f9a09 Add wrapping shifts
Add traits `WrappingShl` and `WrappingShr` corresponding to the
standard library `wrapping_shl` and `wrapping_shr` methods. Implement
the trait on all primitive integer types as well as on `Wrapping`.
2018-09-02 00:51:04 -04:00
..
checked.rs Run cargo fmt 2018-07-12 17:09:22 -07:00
inv.rs Run cargo fmt 2018-07-12 17:09:22 -07:00
mod.rs Run cargo fmt 2018-07-12 17:09:22 -07:00
mul_add.rs Clarify in the docs that `mul_add` is not always faster. 2018-05-20 11:58:10 -04:00
saturating.rs Automatically detect support for i128/u128 2018-05-11 15:50:48 -07:00
wrapping.rs Add wrapping shifts 2018-09-02 00:51:04 -04:00