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
intThe value.
Returns
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
uintThe value.
Returns
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
longThe value.
Returns
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
ulongThe value.
Returns
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
ExInt128The value.
Returns
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
ExUInt128The value.
Returns
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
Int128The value.
Returns
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
UInt128The value.
Returns
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
nintThe value.
Returns
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
nuintThe value.