Count number of bits set.
Source position: syshelph.inc line 1054
public function TSmallIntHelper.SetBitsCount: Byte; |
SetBitsCount returns the number of bits set in a smallint.
|
Count number of set bits. |
|
|
Set bit to 1. |
|
|
Set bit to 0. |
|
|
Invert bit. |
|
|
Check bit. |
|
|
Return the position of the leftmost bit set. |
|
|
Return the position of the rightmost bit set. |
|
|
Read or write a bit. |