Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

PopCnt

Count number of set bits.

Declaration

Source position: systemh.inc line 1256

function PopCnt(

  const AValue: Byte

):Byte;

function PopCnt(

  const AValue: Word

):Word;

function PopCnt(

  const AValue: DWord

):DWord;

function PopCnt(

  const AValue: QWord

):QWord;

Description

PopCnt (population count) counts the number of set bits in AValue.


Documentation generated on: Oct 02 2024