BigInteger.PopCount(BigInteger) Metoda

Definice

Vypočítá počet bitů, které jsou nastaveny v hodnotě.

public:
 static System::Numerics::BigInteger PopCount(System::Numerics::BigInteger value) = System::Numerics::IBinaryInteger<System::Numerics::BigInteger>::PopCount;
public static System.Numerics.BigInteger PopCount (System.Numerics.BigInteger value);
static member PopCount : System.Numerics.BigInteger -> System.Numerics.BigInteger
Public Shared Function PopCount (value As BigInteger) As BigInteger

Parametry

value
BigInteger

Hodnota, jejíž nastavené bity se mají počítat.

Návraty

Počet nastavených bitů v valuenástroji .

Implementuje

Platí pro