UInt64.PopCount(UInt64) 方法

定義

計算值中所設定的位數。

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

參數

value
UInt64

要計算其設定位的值。

傳回

中的 value 設定位數目。

實作

適用於