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