doing float comparison for decoder tests