Skip to main content

Units.MulDiv Method

Name Parameters Description
MulDiv(Int32, Int32, Int32) static value, mul, div Multiplies two 32-bit integers and then divides the 64-bit result by a third 32-bit integer.
MulDiv(Int32, Int32, Single) static value, mul, div Multiplies two 32-bit integers and then divides the 64-bit result by a third 32-bit integer.
MulDiv(Int32, Single, Single) static value, mul, div Multiplies a 32-bit integer by a single-precision floating-point number and then divides the result by another single-precision floating-point number.