TQWordHelper.SetBitsCount¶
Count number of bits set.
Declaration¶
Source position: syshelph.inc line 1327
public
function TQWordHelper.SetBitsCount : Byte;
Description¶
SetBitsCount returns the number of bits set in a QWord.
See also¶
| Name | Description |
|---|---|
| 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. |