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