10 references to Log2
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\FormattingHelpers.CountDigits.cs (2)
28uint index = Unsafe.Add(ref MemoryMarshal.GetReference(log2ToPow10), BitOperations.Log2(value)); 114return (BitOperations.Log2(value) >> 2) + 1;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
550return BitOperations.Log2((ulong)value);
src\libraries\System.Private.CoreLib\src\System\Number.Dragon4.cs (1)
33mantissaHighBitIdx = (uint)BitOperations.Log2(mantissa);
src\libraries\System.Private.CoreLib\src\System\Numerics\BitOperations.cs (2)
368return Log2((ulong)value); 418int result = Log2(value);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (1)
1250=> BitOperations.Log2(match) >> 3;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
476public static ulong Log2(ulong value) => (ulong)BitOperations.Log2(value);
System.Runtime.Numerics (2)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\FormattingHelpers.CountDigits.cs (2)
28uint index = Unsafe.Add(ref MemoryMarshal.GetReference(log2ToPow10), BitOperations.Log2(value)); 114return (BitOperations.Log2(value) >> 2) + 1;