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