compare double value to 0 - unreliable comparisons warning

This is a discussion on compare double value to 0 - unreliable comparisons warning within the C Programming forums, part of the General Programming Boards category; Hey - Quick one for ya...
I get the warning message below at compile time because i'm trying to compare ...

When you use floats and doubles, because of the way they work, the variable does not store the exact value. So 3 / 2 may not be exactly 1.5, it might be 1.50000001 or something. This is why inequality and equality comparisons are unreliable with them. I'm afraid an alternative doesn't come to mind. It's been a loong time since I worked with matrices.