UInt64.PopCount(UInt64) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.