presto-spi/src/main/java/io/prestosql/spi/type/DecimalConversions.java/DecimalConversions/shortDecimalToDouble
class DecimalConversions:    public static double shortDecimalToDouble(long decimal, long tenToScale)
    {
        return ((double) decimal) / tenToScale;
    }