presto-spi/src/main/java/io/prestosql/spi/type/RealType.java/RealType/equalTo
class RealType:    @Override
    public boolean equalTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition)
    {
        float leftValue = intBitsToFloat(leftBlock.getInt(leftPosition, 0));
        float rightValue = intBitsToFloat(rightBlock.getInt(rightPosition, 0));

        // direct equality is correct here
        // noinspection FloatingPointEquality
        return leftValue == rightValue;
    }