Sign in Join
FPDoc Onlineexperiment

PopCnt function

In unit System

Count number of set bits.

Declaration

pascal
function PopCnt(const AValue: Byte): Byte

Description

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.