IBinaryInteger<TSelf>.PopCount(TSelf) Methode

Definitie

Berekent het aantal bits dat in een waarde is ingesteld.

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

Parameters

value
TSelf

De waarde waarvan de ingestelde bits moeten worden geteld.

Retouren

TSelf

Het aantal ingestelde bits in value.

Van toepassing op