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
Josh Stone
d2bf4e04e4
Run cargo fmt
2018-07-12 17:09:22 -07:00
Josh Stone
51f6c57c4b
Automatically detect support for i128/u128
2018-05-11 15:50:48 -07:00
Vincent Esche
5ee2570618
Added impls of `Wrapping…` for `i128` and `u128`
2018-04-09 11:11:05 +02:00
Vinzent Steinberg
a843027b56
Re-introduce the std feature
...
This is a port of @vks's rust-num/num#296 , but without the feature-
toggled changes to `Float`.
2018-01-31 15:42:55 -08:00
Josh Stone
42a610d323
Move num-traits to its own repo
...
All the prior `num` history is kept, so old `num-traits` tags are still
valid, but future development here will be just for `num-traits`.
2017-12-18 17:35:41 -08:00