BigInteger.IsPow2(BigInteger) Metoda

Definice

Určuje, jestli je hodnota mocninou dvou.

public:
 static bool IsPow2(System::Numerics::BigInteger value) = System::Numerics::IBinaryNumber<System::Numerics::BigInteger>::IsPow2;
public static bool IsPow2 (System.Numerics.BigInteger value);
static member IsPow2 : System.Numerics.BigInteger -> bool
Public Shared Function IsPow2 (value As BigInteger) As Boolean

Parametry

value
BigInteger

Hodnota, která se má zkontrolovat.

Návraty

true pokud value je mocnina dvou; v opačném případě false.

Implementuje

Platí pro