presto-main/src/main/java/io/prestosql/type/DecimalSaturatedFloorCasts.java/DecimalSaturatedFloorCasts/longDecimalToShortDecimal
class DecimalSaturatedFloorCasts:    @UsedByGeneratedCode
    public static long longDecimalToShortDecimal(Slice value, int sourcePrecision, int sourceScale, int resultPrecision, int resultScale)
    {
        return bigintToBigintFloorSaturatedCast(decodeUnscaledValue(value), sourceScale, resultPrecision, resultScale).longValueExact();
    }