title: Comparing floating point numbers in C
body: <p>I've got a <code>double</code> that prints as <code>0.000000</code> and I'm trying to compare it to <code>0.0f</code>, unsuccessfully. Why is there a difference here? What's the most reliable way to determine if your double is zero?</p>