Apache OpenOffice (AOO) Bugzilla – Issue 111519
ODFF: BINARY MATH
Last modified: 2015-11-22 07:03:33 UTC
I request binary math functions be added to calc. For example, in cell A1 enter "A" (without quotes) and "B" in cell B1 "B" (again without quotes) and in cell C1 you could enter a binary formula (for example "=XOR(A1;B1)" (again without quotes) and it would accept the formula as valid binary math. All binary operators should be added.
Those functions are BITAND, BITOR, BITXOR, BITLSHIFT, and BITRSHIFT in ODF 1.2.
NICE TRY, but no cigar. Check out the Calc spreadsheet I am attaching.
Created attachment 69401 [details] Calc document illistrating failure of boolean math.
Not all ODF1.2 functions are implemented yet. I have written a summary on http://wiki.services.openoffice.org/wiki/Calc/ODFF_Implementation/Examine_functions. Currently I'm working on the missing complex trigonometric functions, the others will come by and by. If no one will take this task, you will have to wait a bit.
I'll implement this functions
According to the information in http://wiki.services.openoffice.org/wiki/Calc/ODFF_Implementation/Examine_functions the XOR function is implemented already. My try at using it in CALC v3.30 fails. In what way. or in what OOo version, has XOR been implemented?
@joeconner: (In reply to comment #6) XOR is implemented in CWS calcishmakkica not integrated yet, see issue 114428.
Just to be clear: this issue concerns BITWISE functions in Calc, NOT BOOLEAN functions. The XOR function in Issue 114428 is a BOOLEAN function. Also, the sample spreadsheet attached seems to have some problems. Here's an updated sheet that works in LibO 4.1.4.2
Created attachment 83222 [details] Spreadsheet with examples bitwise functions
Opened https://bz.apache.org/ooo/show_bug.cgi?id=126668, with patch attached. Currently in patch review stage.
BITAND, BITOR and BITXOR have now been added in r1715605. Excel import/export for them still needs to be developed.