mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 21:45:15 +00:00
interpret: move saturating_add/sub into (pub) helper method I plan to use them for `simd_saturating_add/sub`. The first commit just moves code, the 2nd simplifies it a bit with some helper methods that did not exist yet when the code was originally written.