Int128.PopCount(Int128) Method

Definition

Computes the number of bits that are set in a value.

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

Parameters

value
Int128

The value whose set bits are to be counted.

Returns

The number of set bits in value.

Implements

Applies to