1 implementation of LeadingZeroCount
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1215static char IBinaryInteger<char>.LeadingZeroCount(char value) => (char)(BitOperations.LeadingZeroCount(value) - 16);
18 references to LeadingZeroCount
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\TensorOperation.cs (1)
1227destination = T.LeadingZeroCount(x);
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (1)
36public static T Invoke(T x) => T.LeadingZeroCount(x);
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
281/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1214/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
714/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
284/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
299/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
296/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
319/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
541int scale = int.CreateTruncating(TInteger.LeadingZeroCount(abs)); 602int scale = int.CreateTruncating(TInteger.LeadingZeroCount(value));
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
287/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
785/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
278/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
294/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
293/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
315/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3191/// <inheritdoc cref="IBinaryInteger{TSelf}.LeadingZeroCount(TSelf)" />