presto-main/src/main/java/io/prestosql/type/DecimalSaturatedFloorCasts.java/DecimalSaturatedFloorCasts/longDecimalToGenericIntegerType
class DecimalSaturatedFloorCasts:    @UsedByGeneratedCode
    public static long longDecimalToGenericIntegerType(Slice value, int sourceScale, long minValue, long maxValue)
    {
        return bigIntegerDecimalToGenericIntegerType(decodeUnscaledValue(value), sourceScale, minValue, maxValue);
    }