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

TInt64Helper.SetBitsCount

Count number of bits set.

Declaration

Source position: syshelph.inc line 1386

public function TInt64Helper.SetBitsCount: Byte;

Description

SetBitsCount returns the number of bits set in an Int64.

See also

System.PopCnt

  

Count number of set bits.

TInt64Helper.SetBit

  

Set bit to 1.

TInt64Helper.ClearBit

  

Set bit to 0.

TInt64Helper.ToggleBit

  

Invert bit.

TInt64Helper.TestBit

  

Check bit.

TInt64Helper.HighestSetBitPos

  

Return the position of the leftmost bit set.

TInt64Helper.LowestSetBitPos

  

Return the position of the rightmost bit set.

TInt64Helper.Bits

  

Read or write a bit.


Documentation generated on: Dec 23 2024