Table of Contents

Method TrailingZeroCount

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

TrailingZeroCount(int)

Count the number of trailing zero bits in an integer value. Similar in behavior to the x86 instruction TZCNT.

public static int TrailingZeroCount(int value)

Parameters

value int

The value.

Returns

int

TrailingZeroCount(uint)

Count the number of trailing zero bits in an integer value. Similar in behavior to the x86 instruction TZCNT.

[CLSCompliant(false)]
public static int TrailingZeroCount(uint value)

Parameters

value uint

The value.

Returns

int

TrailingZeroCount(long)

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

public static int TrailingZeroCount(long value)

Parameters

value long

The value.

Returns

int

TrailingZeroCount(ulong)

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

[CLSCompliant(false)]
public static int TrailingZeroCount(ulong value)

Parameters

value ulong

The value.

Returns

int

TrailingZeroCount(ExInt128)

Count the number of trailing zero bits in an integer value. Similar in behavior to the x86 instruction TZCNT.

public static int TrailingZeroCount(ExInt128 value)

Parameters

value ExInt128

The value.

Returns

int

TrailingZeroCount(ExUInt128)

Count the number of trailing zero bits in an integer value. Similar in behavior to the x86 instruction TZCNT.

[CLSCompliant(false)]
public static int TrailingZeroCount(ExUInt128 value)

Parameters

value ExUInt128

The value.

Returns

int

TrailingZeroCount(Int128)

Count the number of trailing zero bits in an integer value. Similar in behavior to the x86 instruction TZCNT.

public static int TrailingZeroCount(Int128 value)

Parameters

value Int128

The value.

Returns

int

TrailingZeroCount(UInt128)

Count the number of trailing zero bits in an integer value. Similar in behavior to the x86 instruction TZCNT.

[CLSCompliant(false)]
public static int TrailingZeroCount(UInt128 value)

Parameters

value UInt128

The value.

Returns

int

TrailingZeroCount(nint)

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

public static int TrailingZeroCount(nint value)

Parameters

value nint

The value.

Returns

int

TrailingZeroCount(nuint)

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

[CLSCompliant(false)]
public static int TrailingZeroCount(nuint value)

Parameters

value nuint

The value.

Returns

int