Comment Comment by chongli C23 does make two’s complement standard. It also adds checked arithmetic so you can safely avoid signed overflow.It does not make signed overflow defined behaviour. This would prevent integer operation reordering as an optimization, leading to slower code. parent chongli 3 years ago
It does not make signed overflow defined behaviour. This would prevent integer operation reordering as an optimization, leading to slower code.