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
valueintThe 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
valueuintThe 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
valuelongThe 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
valueulongThe 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
valueExInt128The 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
valueExUInt128The 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
valueInt128The 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
valueUInt128The 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
valuenintThe 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
valuenuintThe value.