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

TQWordHelper.SetBitsCount

Count number of bits set.

Declaration

Source position: syshelph.inc line 1324

public function TQWordHelper.SetBitsCount: Byte;

Description

SetBitsCount returns the number of bits set in a QWord.

See also

System.PopCnt

  

Count number of set bits.

TQWordHelper.SetBit

  

Set bit to 1.

TQWordHelper.ClearBit

  

Set bit to 0.

TQWordHelper.ToggleBit

  

Invert bit.

TQWordHelper.TestBit

  

Check bit.

TQWordHelper.HighestSetBitPos

  

Return the position of the leftmost bit set.

TQWordHelper.LowestSetBitPos

  

Return the position of the rightmost bit set.

TQWordHelper.Bits

  

Read or write a bit.


Documentation generated on: Dec 23 2024