Multiply the first two arguments and divide by the third. Assume the result will not overflow, but the intermediate product may be larger than an int. Round to the closest integer result, except that the result must not be zero unless the first argument is zero.
staticprivateMulDivNotToZero ( intmp, intdpi, intdiv ) : int