As a rule you should never do equality test with floats (64bits or otherwise).

Instead, do something like this: 
    
    
    abs(f0 - f1) < 1E-7
    

Reply via email to