I know you can't compare something like 1.0 == 1 safely.
But could you compare something like 0.0 == 0?
Since floating points can represent the idea of zero perfectly, this shouldn't be a problem right?
EDIT
Another possibly helpful link to future visitors
Which is the first integer that an IEEE 754 float is incapable of representing exactly?