Every time I use exact floating point equality I simply write a comment explaining why I did this. That's what comments are for.