_MulHigh

This function returns the high-order 32-bit result of multiplying two arguments.

long __cdecl _MulHigh(
  long arg1,
  long arg2
);

Parameters

  • arg1
    [in] The first argument in the product.
  • arg2
    [in] The second argument in the product.

Return Values

The long integer result of multiplying arg1 and arg2.

Remarks

This function may be useful for detecting overflow or for multiplying integers scaled to represent [-0.5..0.5).

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Cmnintrin.h.

See Also

Common Intrinsic Functions

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.