Count number of bits set
Source position: syshelph.inc line 481
public function TShortIntHelper.SetBitsCount: Byte; |
SetBitsCount returns the number of bits set in a shortint.
|
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 |