Bit OperationsΒΆ
The header <kitty/bit_operations.hpp>
implements bit manipulation on truth tables.
Function
|
Description
|
---|---|
Sets bit at index to true.
|
|
Gets bit at index.
|
|
Clears bit at index (sets bit at index to false)
|
|
Flips bit at index.
|
|
None
|
|
Count ones in truth table.
|
|
Count zeros in truth table.
|
|
Finds least-significant one-bit.
|
|
Finds most-significant one-bit.
|
|
Finds least-significant bit difference.
|
|
Finds most-significant bit difference.
|