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

So, promoting a pawn in chess is undefined behavior?


No, its defined (both then and now), its just the spec has had breaking changes from earlier versions.


No. It was unclear whether you could promote to a piece of the other colour, but a conforming implementation of chess will not make demons fly out of your nose.




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

Search: