2 ms·
I'm trying to say that integer overflow is architecture-specific, so it _should_ have been standardized as implementation defined.
by formerly_proven 6y ago
I'm trying to say that integer overflow is architecture-specific, so it _should_ have been standardized as implementation defined.
- rocqua 6y agoYou probably know this, but by making it UB, compilers don't need to have the same behavior on every case of integer overflow. This allows compilers to apply much more optimizations.