SByte.PopCount(SByte) Metod

Definition

Beräknar antalet bitar som anges i ett värde.

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

Parametrar

value
SByte

Värdet vars angivna bitar ska räknas.

Returer

Antalet angivna bitar i value.

Implementeringar

Gäller för