UInt64.PopCount(UInt64) Méthode

Définition

Calcule le nombre de bits définis dans une valeur.

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

Paramètres

value
UInt64

Valeur dont les bits définis doivent être comptés.

Retours

Nombre de bits définis dans value.

Implémente

S’applique à