IBinaryInteger<TSelf>.PopCount(TSelf) 方法

定義

計算值中所設定的位數。

public:
 static TSelf PopCount(TSelf value);
public static abstract TSelf PopCount (TSelf value);
static member PopCount : 'Self -> 'Self
Public Shared Function PopCount (value As TSelf) As TSelf

參數

value
TSelf

要計算其設定位的值。

傳回

TSelf

中的 value設定位數目。

適用於