UInt64.PopCount(UInt64) Método

Definición

Calcula el número de bits que se establecen en un 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

Valor cuyos bits establecidos se van a contar.

Devoluciones

Número de bits establecidos en value.

Implementaciones

Se aplica a