UInt64.PopCount(UInt64) Methode

Definitie

Berekent het aantal bits dat in een waarde is ingesteld.

public:
 static System::UInt64 PopCount(System::UInt64 value) = System::Numerics::IBinaryInteger<System::UInt64>::PopCount;
public static ulong PopCount(ulong value);
static member PopCount : uint64 -> uint64
Public Shared Function PopCount (value As ULong) As ULong

Parameters

value
UInt64

De waarde waarvan de ingestelde bits moeten worden geteld.

Retouren

Het aantal ingestelde bits in value.

Implementeringen

Van toepassing op