Share via


_CountLeadingZeros64

This function returns the number of contiguous zero bits starting with the most significant bit in a 64-bit integer argument.

unsigned __cdecl _CountLeadingZeros64(
  __int64 arg1
);

Parameters

  • arg1
    [in] The unsigned integer double to be examined by the function.

Return Values

The number of contiguous zero bits in arg1. If none of the bits in arg1 are set, the return value is 64.

Remarks

This function may be implemented by calling a runtime function.

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.