ParentFull threadcosbynator·That's to match IEEE-754, x==x will return false if x is a NaN in just about every language I can think of.View on HN