Int16.PopCount(Int16) Methode

Definition

Berechnet die Anzahl der Bits, die in einem Wert festgelegt sind.

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

Parameter

value
Int16

Der Wert, dessen Setbits gezählt werden sollen.

Gibt zurück

Die Anzahl der festgelegten Bits in value.

Implementiert

Gilt für: