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
value
uintThe 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
value
ulongThe 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
value
ExUInt128The 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
value
UInt128The 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
value
nuintThe value.