dsimcha wrote:
Quick question about the eliminating undefined behavior thing: Isn't overflowing a signed int undefined behavior?
No. On every 2's complement machine I've ever heard of, the behavior is defined and the same.
dsimcha wrote:
Quick question about the eliminating undefined behavior thing: Isn't overflowing a signed int undefined behavior?
No. On every 2's complement machine I've ever heard of, the behavior is defined and the same.