presto-spi/src/main/java/io/prestosql/spi/type/DecimalConversions.java/DecimalConversions/doubleToLongDecimal
class DecimalConversions:    public static Slice doubleToLongDecimal(double value, long precision, long scale)
    {
        return internalDoubleToLongDecimal(value, precision, scale);
    }