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

Nothing in between the assignment and the check changed the value of x or y

What was the check for?



There was code in between that could have changed the value, but it was never triggered in the bug case.


Ah yeah, that makes sense. Relying on FP equality should always make one's eye twitch a little but this is a neat way of hiding it.




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

Search: