UInt32.IsPow2(UInt32) Método

Definição

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

public:
 static bool IsPow2(System::UInt32 value) = System::Numerics::IBinaryNumber<System::UInt32>::IsPow2;
public static bool IsPow2(uint value);
static member IsPow2 : uint32 -> bool
Public Shared Function IsPow2 (value As UInteger) As Boolean

Parâmetros

value
UInt32

O valor a ser verificado.

Devoluções

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

Implementações

Aplica-se a