presto-main/src/main/java/io/prestosql/operator/scalar/MathFunctions.java/MathFunctions/isInfinite
class MathFunctions:    @Description("test if value is infinite")
    @ScalarFunction
    @SqlType(StandardTypes.BOOLEAN)
    public static boolean isInfinite(@SqlType(StandardTypes.DOUBLE) double num)
    {
        return Double.isInfinite(num);
    }