UInt32.PopCount(UInt32) Methode

Definitie

Berekent het aantal bits dat in een waarde is ingesteld.

public:
 static System::UInt32 PopCount(System::UInt32 value) = System::Numerics::IBinaryInteger<System::UInt32>::PopCount;
public static uint PopCount(uint value);
static member PopCount : uint32 -> uint32
Public Shared Function PopCount (value As UInteger) As UInteger

Parameters

value
UInt32

De waarde waarvan de ingestelde bits moeten worden geteld.

Retouren

Het aantal ingestelde bits in value.

Implementeringen

Van toepassing op