2 ms·
I see, so checking for the overflow flag wouldn't be good as you now have your program in an undefined state.
by dgellow 6y ago
I see, so checking for the overflow flag wouldn't be good as you now have your program in an undefined state.
- deadbytes 6y agoWhen I looked into doing this before I think the ultimate issue was that the C specification doesn't even give you any way to check the overflow flag. So even if you knew your specific C implementation handled overflow properly there is no way to check the flag afterwards anyway.