1 implementation of IsPow2
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1369static bool IBinaryNumber<char>.IsPow2(char value) => ushort.IsPow2(value);
20 references to IsPow2
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.IsPow2.cs (1)
52public static bool Invoke(T x) => T.IsPow2(x);
System.Private.CoreLib (18)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
406/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1368/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
546/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1237/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
957/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
486/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
526/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
523/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
556/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
868/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
887/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
465/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
539/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1244/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
411/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
475/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
482/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
491/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
4023/// <inheritdoc cref="IBinaryNumber{TSelf}.IsPow2(TSelf)" />