Use saturating adds to avoid overflow
When the addition overflowed, asserts were triggered later, where the values were assumed to be non-negative.
Showing
Please register or sign in to comment
When the addition overflowed, asserts were triggered later, where the values were assumed to be non-negative.