Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Alexandre Oliva (lxo@gnusocial.net)'s status on Thursday, 12-Jan-2023 03:52:17 JST Alexandre Oliva
signed integer overflow invokes undefined behavior in both C and C++
but it's true that there are plenty of unwarranted assumptions in programs. so many would be surprised when int is not 32-bits wide, or when long isn't 64-bits wide...