presto-main/src/main/java/io/prestosql/type/DecimalCasts.java/DecimalCasts/realToShortDecimal
class DecimalCasts:    @UsedByGeneratedCode
    public static long realToShortDecimal(long value, long precision, long scale, long tenToScale)
    {
        return DecimalConversions.realToShortDecimal(value, precision, scale);
    }