> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bitwise functions

> Operate on the individual bits of integers.

Operate on the individual bits of integers.

| Function | Type | What it does |
| - | - | - |
| [`bit_count`](/query/sql/functions/bitwise/bit_count) | Scalar | Counts the set bits in an integer. |
| [`bit_get`](/query/sql/functions/bitwise/bit_get) | Scalar | Returns the bit at a zero-based position in an integer. |
| [`bitand`](/query/sql/functions/bitwise/bitand) | Scalar | Computes the bitwise AND of two integers or two binary values. |
| [`bitwise_and`](/query/sql/functions/bitwise/bitwise_and) | Scalar | Computes the bitwise AND of two numeric values. |
| [`bitwise_arithmetic_shift_right`](/query/sql/functions/bitwise/bitwise_arithmetic_shift_right) | Scalar | Shifts an integer right while preserving its sign. |
| [`bitwise_logical_shift_right`](/query/sql/functions/bitwise/bitwise_logical_shift_right) | Scalar | Shifts an integer right while filling high positions with zero. |
| [`bitwise_not`](/query/sql/functions/bitwise/bitwise_not) | Scalar | Inverts every bit of a signed integer. |
| [`bitwise_or`](/query/sql/functions/bitwise/bitwise_or) | Being confirmed | Previous docs; being confirmed. |
| [`bitwise_shift_left`](/query/sql/functions/bitwise/bitwise_shift_left) | Scalar | Shifts an integer left by a number of bit positions. |
| [`bitwise_xor`](/query/sql/functions/bitwise/bitwise_xor) | Being confirmed | Previous docs; being confirmed. |
| [`getbit`](/query/sql/functions/bitwise/getbit) | Scalar | Returns the bit at a zero-based position in an integer. |
| [`shiftleft`](/query/sql/functions/bitwise/shiftleft) | Scalar | Shifts an integer left by a number of bit positions. |
| [`shiftright`](/query/sql/functions/bitwise/shiftright) | Scalar | Shifts an integer right while preserving its sign. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.