avoid == comparison for floating point with tolerance!