presto-main/src/main/java/io/prestosql/type/DecimalCasts.java/DecimalCasts/intPrecision
class DecimalCasts:    @SuppressWarnings("NumericCastThatLosesPrecision")
    private static int intPrecision(long precision)
    {
        return (int) precision;
    }