Char.IBinaryNumber<Char>.IsPow2(Char) 方法

定義

判斷值是否為 2 的乘冪。

 static bool System.Numerics.IBinaryNumber<System.Char>.IsPow2(char value) = System::Numerics::IBinaryNumber<char>::IsPow2;
static bool IBinaryNumber<char>.IsPow2 (char value);
static member System.Numerics.IBinaryNumber<System.Char>.IsPow2 : char -> bool
 Shared Function IsPow2 (value As Char) As Boolean Implements IBinaryNumber(Of Char).IsPow2

參數

value
Char

要檢查的值。

傳回

true 如果 value 是兩個的乘冪,則為 ,否則為 false

實作

適用於