IBinaryInteger<TSelf>.PopCount(TSelf) 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 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
Paramètres
- value
- TSelf
Valeur dont les bits définis doivent être comptés.
Retours
Nombre de bits définis dans value.