presto-spi/src/main/java/io/prestosql/spi/type/DecimalConversions.java/DecimalConversions/longToShortCast
class DecimalConversions:    public static long longToShortCast(
            Slice value,
            long sourcePrecision,
            long sourceScale,
            long resultPrecision,
            long resultScale)
    {
        return unscaledDecimalToUnscaledLongUnsafe(longToLongCast(value, sourcePrecision, sourceScale, resultPrecision, resultScale));
    }