LibreOffice 24.8 Help
Returns a bitwise logical "and" of the parameters.
BITAND(number1; number2)
Number1 and number2 are positive integers less than 2 ^ 48 (281 474 976 710 656).
=BITAND(6;10) atgriež 2 (0110 & 1010 = 0010).
Shifts a number left by n bits.
BITLSHIFT(number; shift)
Number is a positive integer less than 2 ^ 48 (281 474 976 710 656).
Shift is the number of positions the bits will be moved to the left. If shift is negative, it is synonymous with BITRSHIFT (number; -shift).
=BITLSHIFT(6;1) atgriež 12 (0110 << 1 = 1100).
Returns a bitwise logical "or" of the parameters.
BITOR(number1; number2)
Number1 and number2 are positive integers less than 2 ^ 48 (281 474 976 710 656).
=BITOR(6;10) atgriež 14 (0110 | 1010 = 1110).
Shifts a number right by n bits.
BITRSHIFT(number; shift)
Number is a positive integer less than 2 ^ 48 (281 474 976 710 656).
Shift is the number of positions the bits will be moved to the right. If shift is negative, it is synonymous with BITLSHIFT (number; -shift).
=BITRSHIFT(6;1) atgriež 3 (0110 >> 1 = 0011).
Returns a bitwise logical "exclusive or" of the parameters.
BITXOR(number1; number2)
Number1 and number2 are positive integers less than 2 ^ 48 (281 474 976 710 656).
=BITXOR(6;10) atgriež 12 (0110 ^ 1010 = 1100)