A three-column grid of Rust integer method names, organized by overflow strategy. Column one, wrapping: wrapping_add, wrapping_sub, wrapping_mul, wrapping_div, wrapping_neg, wrapping_pow. Column two, saturating: saturating_add, saturating_sub, saturating_mul, saturating_div, saturating_neg, saturating_pow. Column three, checked: checked_add, checked_sub, checked_mul, checked_div, checked_neg, checked_pow. Bottom row: overflowing_add, overflowing_sub, overflowing_mul.
boning up on my #rustlang on the plane to #tokioconf and loving the vibe of these lil guys
tag yrself i'm `saturating_sub` 🙇♂️🤣