presto-main/src/main/java/io/prestosql/type/RealOperators.java/RealOperators/castToBoolean
class RealOperators:    @ScalarOperator(CAST)
    @SqlType(StandardTypes.BOOLEAN)
    public static boolean castToBoolean(@SqlType(StandardTypes.REAL) long value)
    {
        return intBitsToFloat((int) value) != 0.0f;
    }