fixed float comparison