News for hackers. Stuff that matters.
Re:Clang vs. Clang by atiedebee on Tuesday August 06, 2024 @12:40PM (#41172535)
I think the reason that signed integer overflow is undefined is that it wasn't uncommon at the time to have architectures that didn't represent signed integers with 2's complement.

Even today you may find issues with signed integers. The ESP32 vector extensions seem to saturate signed integer overflow [1].

[1]: https://bitbanksoftware.blogspot.com/2024/01/surprise-esp32-...

There are no comments on this comment yet.