Hacker News new | past | comments | ask | show | jobs | submit login

> Why "must be sensible"? Why not just say "signed integer overflow is implementation-defined" and in a footnote say "for example, it may wrap, trap, saturate, or do anything else documented by your implementation"?

I don't think that actually defines anything - I don't think GCC would interpret that as anything other than undefined behaviour.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: