BigInteger.PopCount(BigInteger) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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 .