Skip to content

Commit

Permalink
std: Move overflowing ops to inherent methods
Browse files Browse the repository at this point in the history
This commit migrates all of the methods on `num::wrapping::OverflowingOps` onto
inherent methods of the integer types. This also fills out some missing gaps in
the saturating and checked departments such as:

* `saturating_mul`
* `checked_{neg,rem,shl,shr}`

This is done in preparation for stabilization,

cc rust-lang#27755
  • Loading branch information
alexcrichton committed Jan 12, 2016
1 parent dedaebd commit 7eb7699
Showing 1 changed file with 658 additions and 14 deletions.
Loading

0 comments on commit 7eb7699

Please sign in to comment.