語言

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

定義

判斷值是否為兩個乘冪。

 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。

實作

適用於