UInt32.PopCount(UInt32) Método

Definição

Calcula o número de bits que estão definidos num 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 de conjunto devem ser contados.

Devoluções

O número de bits de conjunto em value.

Implementações

Aplica-se a