| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Count number of set bits
Source position: systemh.inc line 1045
| function PopCnt( | 
| const AValue: Byte | 
| ):Byte; | 
| const AValue: Word | 
| ):Word; | 
| const AValue: DWord | 
| ):DWord; | 
| const AValue: QWord | 
| ):QWord; | 
PopCnt (population count) counts the number of set bits in AValue.