by TillE · 2y ago · 0 comments
Of course you can define your own checked integer types, using inline assembly to check the overflow flag where available.
Any architecture that doesn't use 2s complement is so esoteric by now that it does not make any sense for a general-purpose C compiler to pretend they exist.