BitOperations.LeadingZeroCount Methode

Definitie

Overloads

Name Description
LeadingZeroCount(UInt32)

Telt het aantal voorloopnul bits in een niet-ondertekend 32-bits geheel getalmasker.

LeadingZeroCount(UInt64)

Telt het aantal voorloopnul bits in een niet-ondertekend 64-bits geheel getalmasker.

LeadingZeroCount(UIntPtr)

Telt het aantal voorloopnul bits in een masker. Vergelijkbaar met het gedrag van de x86-instructie LZCNT.

LeadingZeroCount(UInt32)

Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs

Belangrijk

Deze API is niet CLS-conform.

Telt het aantal voorloopnul bits in een niet-ondertekend 32-bits geheel getalmasker.

public:
 static int LeadingZeroCount(System::UInt32 value);
[System.CLSCompliant(false)]
public static int LeadingZeroCount(uint value);
[<System.CLSCompliant(false)>]
static member LeadingZeroCount : uint32 -> int
Public Shared Function LeadingZeroCount (value As UInteger) As Integer

Parameters

value
UInt32

Het masker.

Retouren

Het aantal voorloopnul bits in een masker.

Kenmerken

Opmerkingen

Deze methode is vergelijkbaar met het gedrag van de x86-instructie LZCNT.

Van toepassing op

LeadingZeroCount(UInt64)

Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs

Belangrijk

Deze API is niet CLS-conform.

Telt het aantal voorloopnul bits in een niet-ondertekend 64-bits geheel getalmasker.

public:
 static int LeadingZeroCount(System::UInt64 value);
[System.CLSCompliant(false)]
public static int LeadingZeroCount(ulong value);
[<System.CLSCompliant(false)>]
static member LeadingZeroCount : uint64 -> int
Public Shared Function LeadingZeroCount (value As ULong) As Integer

Parameters

value
UInt64

Het masker.

Retouren

Het aantal voorloopnul bits in een masker.

Kenmerken

Opmerkingen

Deze methode is vergelijkbaar met het gedrag van de x86-instructie LZCNT.

Van toepassing op

LeadingZeroCount(UIntPtr)

Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs

Belangrijk

Deze API is niet CLS-conform.

Telt het aantal voorloopnul bits in een masker. Vergelijkbaar met het gedrag van de x86-instructie LZCNT.

public:
 static int LeadingZeroCount(UIntPtr value);
[System.CLSCompliant(false)]
public static int LeadingZeroCount(UIntPtr value);
[<System.CLSCompliant(false)>]
static member LeadingZeroCount : unativeint -> int
Public Shared Function LeadingZeroCount (value As UIntPtr) As Integer

Parameters

value
UIntPtr

unativeint

De waarde.

Retouren

Het aantal voorloopnullen in een masker.

Kenmerken

Van toepassing op