Re:Signed overflow in C
by cjlarose on Tuesday May 17, 2016 @09:04PM
(#11718962)
Interestingly, arithmetic on the Mill CPU does this (at the machine level instead of at the language level). You can get modulo addition, saturating addition, widening addition, and excepting addition.
http://millcomputing.com/wiki/Instruction_Set_by_Category#Si...