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

Definição

Calcula o número de bits definidos em um valor.

public:
 static TSelf PopCount(TSelf value);
public static TSelf PopCount (TSelf value);
static member PopCount : 'Self -> 'Self
Public Shared Function PopCount (value As TSelf) As TSelf

Parâmetros

value
TSelf

O valor cujos bits definidos devem ser contados.

Retornos

TSelf

O número de bits definidos em value.

Aplica-se a