UInt32.PopCount(UInt32) Método

Definição

Calcula o número de bits definidos em um valor.

public:
 static System::UInt32 PopCount(System::UInt32 value) = System::Numerics::IBinaryInteger<System::UInt32>::PopCount;
public static uint PopCount(uint value);
static member PopCount : uint32 -> uint32
Public Shared Function PopCount (value As UInteger) As UInteger

Parâmetros

value
UInt32

O valor cujos bits definidos devem ser contados.

Retornos

O número de bits definidos em value.

Implementações

Aplica-se a