Computation :: Bitwise
- bit_clear(bitfield, bit)
- Returns a bitfield with a given bit cleared to 0.
- bit_set(bitfield, bit)
- Returns a bitfield with a given bit set to 1.
- bit_test(bitfield, bit)
- Returns the value of a selected bit within a bitfield.
- bit_toggle(bitfield, bit)
- Returns a bitfield with a given bit toggled.
- bitwise_reverse16(n)
- Returns the given 16-bit integer with bits in reverse order.
- bitwise_reverse32(n)
- Returns the given 32-bit integer with bits in reverse order.
- bitwise_reverse8(n)
- Returns the given 8-bit integer with bits in reverse order.
- bitwise_rol(n, count, size)
- Returns the given integer rotated left a number of bit positions.
- bitwise_ror(n, count, size)
- Returns the given integer rotated right a number of bit positions.