presto-main/src/main/java/io/prestosql/operator/scalar/MathFunctions.java/MathFunctions/sign
class MathFunctions:    @ScalarFunction
    @SqlType(StandardTypes.BIGINT)
    public static long sign(@SqlType(StandardTypes.BIGINT) long num)
    {
        return (long) Math.signum(num);
    }