PopulationCount64 function (winnt.h)

Counts the number of one bits (population count) in a 64-bit unsigned integer.

Syntax

DWORD64 PopulationCount64(
  [in] DWORD64 operand
);

Parameters

[in] operand

The operand.

Return value

The count of one bits.

Requirements

Requirement Value
Target Platform Windows
Header winnt.h