UInt32.PopCount(UInt32) Método

Definición

Calcula el número de bits que se establecen en un valor.

public:
 static System::UInt32 PopCount(System::UInt32 value) = System::Numerics::IBinaryInteger<System::UInt32>::PopCount;
public static uint PopCount(uint value);
static member PopCount : uint32 -> uint32
Public Shared Function PopCount (value As UInteger) As UInteger

Parámetros

value
UInt32

Valor cuyos bits establecidos se van a contar.

Devoluciones

Número de bits establecidos en value.

Implementaciones

Se aplica a