Hacker News new | ask | show | jobs
by ithkuil 907 days ago
The proposed mechanism is only equivalent to a saturating add when you add 1
1 comments

oh right, a true saturating add would set it to MAX_INT rather than the previous value!