Int16.PopCount(Int16) Metodo

Definizione

Calcola il numero di bit impostati in un valore.

public:
 static short PopCount(short value) = System::Numerics::IBinaryInteger<short>::PopCount;
public static short PopCount(short value);
static member PopCount : int16 -> int16
Public Shared Function PopCount (value As Short) As Short

Parametri

value
Int16

Valore i cui bit impostati devono essere conteggiati.

Valori restituiti

Numero di bit impostati in value.

Implementazioni

Si applica a