UInt64.PopCount(UInt64) Método

Definição

Calcula o número de bits que estão definidos num valor.

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

Parâmetros

value
UInt64

O valor cujos bits de conjunto devem ser contados.

Devoluções

O número de bits de conjunto em value.

Implementações

Aplica-se a