Comment by TheCoelacanth
4 years ago
I still think undefined behavior is the wrong choice here. It should have been implementation-defined, like what happens if you bit shift a negative integer to the right. They could pick two's complement or trap on overflow or whatever is most convenient on their platform, but not just assume it will never happen.
No comments yet
Contribute on Hacker News ↗