UInt32.PopCount(UInt32) Metodo

Definizione

Calcola il numero di bit impostati in un valore.

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

Parametri

value
UInt32

Valore i cui bit impostati devono essere conteggiati.

Valori restituiti

Numero di bit impostati in value.

Implementazioni

Si applica a