Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, I would say that implementation defined is ok only if you have full control on the full compilation process. If your code aims at universality you should find better tricks.

The UB on the add happens in cases where all incarnations of abs() would fail as well, because there simply isn't a correct return value.



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

Search: