ערוך

שתף באמצעות


BitOperations.TrailingZeroCount Method

Definition

Overloads

TrailingZeroCount(UInt64)

Count the number of trailing zero bits in an unsigned 64-bit integer value mask.

TrailingZeroCount(Int32)

Counts the number of trailing zero bits in an 32-bit integer value mask.

TrailingZeroCount(Int64)

Counts the number of trailing zero bits in a 64-bit integer value mask.

TrailingZeroCount(IntPtr)

Counts the number of trailing zero bits in a mask. Similar in behavior to the x86 instruction TZCNT.

TrailingZeroCount(UInt32)

Counts the number of trailing zero bits in an unsigned 32-bit integer value mask.

TrailingZeroCount(UIntPtr)

Counts the number of trailing zero bits in a mask. Similar in behavior to the x86 instruction TZCNT.

TrailingZeroCount(UInt64)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Important

This API is not CLS-compliant.

Count the number of trailing zero bits in an unsigned 64-bit integer value mask.

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

Parameters

value
UInt64

The mask.

Returns

The number of trailing zero bits in the mask.

Attributes

Remarks

This method is similar in behavior to the x86 instruction TZCNT.

Applies to

TrailingZeroCount(Int32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Counts the number of trailing zero bits in an 32-bit integer value mask.

public:
 static int TrailingZeroCount(int value);
public static int TrailingZeroCount (int value);
static member TrailingZeroCount : int -> int
Public Shared Function TrailingZeroCount (value As Integer) As Integer

Parameters

value
Int32

The mask.

Returns

The number of trailing zero bits in the integer value.

Remarks

This method is similar in behavior to the x86 instruction TZCNT.

Applies to

TrailingZeroCount(Int64)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Counts the number of trailing zero bits in a 64-bit integer value mask.

public:
 static int TrailingZeroCount(long value);
public static int TrailingZeroCount (long value);
static member TrailingZeroCount : int64 -> int
Public Shared Function TrailingZeroCount (value As Long) As Integer

Parameters

value
Int64

The mask.

Returns

The number of trailing zero bits in the mask.

Remarks

This method is similar in behavior to the x86 instruction TZCNT.

Applies to

TrailingZeroCount(IntPtr)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Counts the number of trailing zero bits in a mask. Similar in behavior to the x86 instruction TZCNT.

public:
 static int TrailingZeroCount(IntPtr value);
public static int TrailingZeroCount (IntPtr value);
static member TrailingZeroCount : nativeint -> int
Public Shared Function TrailingZeroCount (value As IntPtr) As Integer

Parameters

value
IntPtr

nativeint

The value.

Returns

The count of trailing zero bits in a mask.

Applies to

TrailingZeroCount(UInt32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Important

This API is not CLS-compliant.

Counts the number of trailing zero bits in an unsigned 32-bit integer value mask.

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

Parameters

value
UInt32

The mask.

Returns

The number of trailing zero bits in the mask.

Attributes

Remarks

This method is similar in behavior to the x86 instruction TZCNT.

Applies to

TrailingZeroCount(UIntPtr)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Important

This API is not CLS-compliant.

Counts the number of trailing zero bits in a mask. Similar in behavior to the x86 instruction TZCNT.

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

Parameters

value
UIntPtr

unativeint

The value.

Returns

The count of trailing zero bits in a mask.

Attributes

Applies to