3 ms·
> Yes, detecting the overflow is free but reacting to it is expensive. Who cares?? There should not be integer overflow in your program, so the 'reaction time'
by renox 11y ago
> Yes, detecting the overflow is free but reacting to it is expensive.
Who cares??
There should not be integer overflow in your program, so the 'reaction time' is free because it isn't used.
If you have an overflow, then there is a bug in your program, and in C it's perfectly legal to STOP your program in case of integer overflow, so again the reaction time doesn't matter.