3 ms·
>> DSPs often use saturating overflow IIRC I've used them, and used that feature. It was an option that could be turned on and off. The basic arithmetic was th
by phkahler 9y ago
>> DSPs often use saturating overflow IIRC
I've used them, and used that feature. It was an option that could be turned on and off. The basic arithmetic was the same as any other CPU unless that was enabled.
- steveklabnik 9y agoSimilar to above comments about wrapping_add, Rust has saturating_add as well.