fix compare float

This caused some missing intersections with 45° line that is very long
(e. g. c[3] == 1.09e-19)