Home › Forums › kdb+ › Integer Bitwise Operation › Reply To: Integer Bitwise Operation
-
Hi @jackyyuk
At the minute, kdb+/q does not have built-in functions for bitwise and,or,xor operations. However please find below some discussions on this topic and solutions on how to provide bitwise operations.
- https://www.timestored.com/b/bitwise-operators-kdb-database/
- https://stackoverflow.com/questions/52068847/bit-shift-operation-supported-in-kdb
- https://www.mindfruit.co.uk/posts/2012/11/vectorised-bitwise-or-for-kdb/index.html
Thanks,
Megan