共用方式為


populationCount64 函式 (winnt.h)

計算64位不帶正負號整數中一個位 (母體擴展計數) 的數目。

語法

DWORD64 PopulationCount64(
  [in] DWORD64 operand
);

參數

[in] operand

運算元。

傳回值

一個位的計數。

規格需求

需求
目標平台 Windows
標頭 winnt.h