5 references to LeadingZeroCount
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (2)
1544int bufferLength = Math.Max(digits, 32 - (int)uint.LeadingZeroCount(value)); 1563int bufferLength = Math.Max(digits, 32 - (int)uint.LeadingZeroCount(value));
System.Runtime.Numerics (3)
System\Numerics\BigInteger.cs (3)
3204return (value._sign >= 0) ? uint.LeadingZeroCount(value._bits[^1]) : 0; 3719return 31 ^ uint.LeadingZeroCount((uint)(value._sign | 1)); 3722return ((value._bits.Length * 32) - 1) ^ uint.LeadingZeroCount(value._bits[^1]);