From 940b4d1848e8c70ab7642901a68594e8016caffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:51:28 +0200 Subject: Adding upstream version 1:7.0.4. Signed-off-by: Daniel Baumann --- helpcontent2/source/text/scalc/01/04060120.xhp | 129 +++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 helpcontent2/source/text/scalc/01/04060120.xhp (limited to 'helpcontent2/source/text/scalc/01/04060120.xhp') diff --git a/helpcontent2/source/text/scalc/01/04060120.xhp b/helpcontent2/source/text/scalc/01/04060120.xhp new file mode 100644 index 000000000..0a22215b9 --- /dev/null +++ b/helpcontent2/source/text/scalc/01/04060120.xhp @@ -0,0 +1,129 @@ + + + + + + + + +Bit Operation Functions +/text/scalc/01/04060120.xhp + + + +Bit Operation Functions +
+ +
+ +
+BITAND function + + +BITAND +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) returns 2 (0110 & 1010 = 0010). +
+
+BITOR function + + +BITOR +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) returns 14 (0110 | 1010 = 1110). +
+
+BITXOR function + + +BITXOR +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) returns 12 (0110 ^ 1010 = 1100) +
+
+BITLSHIFT function + + +BITLSHIFT +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) returns 12 (0110 << 1 = 1100). +
+
+BITRSHIFT function + + +BITRSHIFT +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) returns 3 (0110 >> 1 = 0011). +
+
+
+ +
+ +
-- cgit v1.2.3