Put absolute value around floating point comparison checks