Share via


BigInteger.IsPow2(BigInteger) Método

Definição

Determina se um valor é uma potência de dois.

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

Parâmetros

value
BigInteger

O valor a ser verificado.

Retornos

true se value for uma potência de dois; caso contrário, false.

Implementações

Aplica-se a