In response to a student question on the COMP1511 course forum, I wrote up a brief explanation of how floating-point equality can be weird. I’ve reposted it here.