presto-main/src/main/java/io/prestosql/type/BooleanOperators.java/BooleanOperators/castToReal
class BooleanOperators:    @ScalarOperator(CAST)
    @SqlType(StandardTypes.REAL)
    public static long castToReal(@SqlType(StandardTypes.BOOLEAN) boolean value)
    {
        return value ? floatToRawIntBits(1.0f) : floatToRawIntBits(0.0f);
    }