IBinaryInteger<TSelf>.PopCount(TSelf) Método

Definición

Calcula el número de bits establecidos en un valor.

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

Parámetros

value
TSelf

Valor cuyos bits establecidos se van a contar.

Devoluciones

TSelf

Número de bits establecidos en value.

Se aplica a