TInstance arg1 = inputs.get(1).type();
int arg0Precision = arg0.attribute(DecimalAttribute.PRECISION);
int arg0Scale = arg0.attribute(DecimalAttribute.SCALE);
int arg1Precision = arg1.attribute(DecimalAttribute.PRECISION);
int arg1Scale = arg1.attribute(DecimalAttribute.SCALE);
long resultPrecisionAndScale = precisionAndScale(arg0Precision, arg0Scale, arg1Precision, arg1Scale);
int resultPrecision = (int)(resultPrecisionAndScale >> 32);
int resultScale = (int)resultPrecisionAndScale;
return MNumeric.DECIMAL.instance(resultPrecision, resultScale, anyContaminatingNulls(inputs));