IBinaryInteger<TSelf>.PopCount(TSelf) Metod

Definition

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

public:
 static TSelf PopCount(TSelf value);
public static abstract TSelf PopCount(TSelf value);
static member PopCount : 'Self -> 'Self
Public Shared Function PopCount (value As TSelf) As TSelf

Parametrar

value
TSelf

Värdet vars angivna bitar ska räknas.

Returer

TSelf

Antalet angivna bitar i value.

Gäller för