Method LeadingZeroCount
- Namespace
- Zyl.VectorTraits.Numerics
- Assembly
- VectorTraits.dll
LeadingZeroCount(uint)
Count the number of leading zero bits in a mask. Similar in behavior to the x86 instruction LZCNT.
[CLSCompliant(false)]
public static int LeadingZeroCount(uint value)
Parameters
valueuintThe value.
Returns
LeadingZeroCount(ulong)
Count the number of leading zero bits in a mask. Similar in behavior to the x86 instruction LZCNT.
[CLSCompliant(false)]
public static int LeadingZeroCount(ulong value)
Parameters
valueulongThe value.
Returns
LeadingZeroCount(ExUInt128)
Count the number of leading zero bits in a mask. Similar in behavior to the x86 instruction LZCNT.
[CLSCompliant(false)]
public static int LeadingZeroCount(ExUInt128 value)
Parameters
valueExUInt128The value.
Returns
LeadingZeroCount(UInt128)
Count the number of leading zero bits in a mask. Similar in behavior to the x86 instruction LZCNT.
[CLSCompliant(false)]
public static int LeadingZeroCount(UInt128 value)
Parameters
valueUInt128The value.
Returns
LeadingZeroCount(nuint)
Count the number of leading zero bits in a mask. Similar in behavior to the x86 instruction LZCNT.
[CLSCompliant(false)]
public static int LeadingZeroCount(nuint value)
Parameters
valuenuintThe value.