1 implementation of IsPow2
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1315static bool IBinaryNumber<char>.IsPow2(char value) => ushort.IsPow2(value);
19 references to IsPow2
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.IsPow2.cs (1)
55public static bool Invoke(T x) => T.IsPow2(x);
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
411/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1314/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
548/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1207/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
973/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
498/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
537/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
534/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
539/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
888/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
461/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
543/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
979/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
430/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
468/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
467/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
480/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3883/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />