Operator Symbol OpCode OpCodeValue Precedence Associativity Arity ParserFile CompilerFile EvaluatorFile ODFSection Status Notes Range : ocRange SC_OPCODE_RANGE 56 Left Binary FormulaCompiler.cxx:RangeLine compiler.cxx interpr1.cxx:ScRangeFunc 6.1/3.3 FULL Cell range A1:B3. Intersection ! ocIntersect SC_OPCODE_INTERSECT 54 Left Binary FormulaCompiler.cxx:IntersectionLine compiler.cxx interpr1.cxx:ScIntersect 6.1/3.4 FULL Automatic via whitespace too (ocSpaces->ocIntersect at FormulaCompiler.cxx:830-831). Union ~ ocUnion SC_OPCODE_UNION 55 Left Binary FormulaCompiler.cxx:UnionLine compiler.cxx interpr1.cxx:ScUnionFunc 6.1/3.5 FULL Range list (A1;A2) converted to union at FormulaCompiler.cxx:914-922. Concatenation & ocAmpersand SC_OPCODE_AMPERSAND 44 Left Binary FormulaCompiler.cxx compiler.cxx interpr5.cxx:ScAmpersand 6.1 FULL String concatenation. Addition + ocAdd SC_OPCODE_ADD 40 Left Binary FormulaCompiler.cxx compiler.cxx interpr5.cxx:ScAdd 6.1 FULL Also unary plus. Subtraction - ocSub / ocNegSub SC_OPCODE_SUB / SC_OPCODE_NEG_SUB 41/62 Left Binary FormulaCompiler.cxx compiler.cxx interpr5.cxx:ScSub 6.1 FULL Also unary minus. Multiplication * ocMul SC_OPCODE_MUL 42 Left Binary FormulaCompiler.cxx compiler.cxx interpr5.cxx:ScMul 6.1 FULL Standard. Division / ocDiv SC_OPCODE_DIV 43 Left Binary FormulaCompiler.cxx compiler.cxx interpr5.cxx:ScDiv 6.1 FULL Div by zero -> errDivisionByZero (interpre.hxx:955-959). Power ^ ocPow SC_OPCODE_POW 45 Right Binary FormulaCompiler.cxx compiler.cxx interpr5.cxx:ScPow 6.1 FULL Right-associative; POWER(0,0) impl-defined. Equal = ocEqual SC_OPCODE_EQUAL 46 Left Binary FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScEqual 6.1 FULL Comparison. NotEqual <> ocNotEqual SC_OPCODE_NOT_EQUAL 47 Left Binary FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScNotEqual 6.1 FULL Comparison. Less < ocLess SC_OPCODE_LESS 48 Left Binary FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScLess 6.1 FULL Comparison. Greater > ocGreater SC_OPCODE_GREATER 49 Left Binary FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScGreater 6.1 FULL Comparison. LessEqual <= ocLessEqual SC_OPCODE_LESS_EQUAL 50 Left Binary FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScLessEqual 6.1 FULL Comparison. GreaterEqual >= ocGreaterEqual SC_OPCODE_GREATER_EQUAL 51 Left Binary FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScGreaterEqual 6.1 FULL Comparison. LogicalAND AND ocAnd SC_OPCODE_AND 52 Left Binary FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScAnd 6.1 FULL Logical AND. LogicalOR OR ocOr SC_OPCODE_OR 53 Left Binary FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScOr 6.1 FULL Logical OR. LogicalNOT NOT ocNot SC_OPCODE_NOT 60 Right Unary (prefix) FormulaCompiler.cxx:UnaryLine compiler.cxx interpr1.cxx:ScNot 6.1 FULL Prefix. Negation - ocNeg SC_OPCODE_NEG 61 Right Unary (prefix) FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScNeg 6.1 FULL Prefix. Percent % ocPercentSign SC_OPCODE_PERCENT_SIGN 19 Left Postfix FormulaCompiler.cxx compiler.cxx interpr1.cxx:ScPercentSign 6.1 FULL Divides by 100, postfix. FunctionCall ( ) ocOpen/ocClose SC_OPCODE_OPEN/CLOSE 8/9 N/A N/A FormulaCompiler.cxx compiler.cxx - 5.1 FULL name(arg-list). InlineArray { } ocArrayOpen/ocArrayClose SC_OPCODE_ARRAY_OPEN/CLOSE 20/21 N/A N/A FormulaCompiler.cxx compiler.cxx - 5.4 FULL {1,2;3,4} matrix. ErrorConst #NULL! ocErrNull SC_OPCODE_ERROR_NULL 30 N/A Constant FormulaCompiler.cxx compiler.cxx - 5.5 FULL Error constant. ErrorConst #DIV/0! ocErrDivZero SC_OPCODE_ERROR_DIVZERO 31 N/A Constant FormulaCompiler.cxx compiler.cxx - 5.5 FULL Error constant. ErrorConst #VALUE! ocErrValue SC_OPCODE_ERROR_VALUE 32 N/A Constant FormulaCompiler.cxx compiler.cxx - 5.5 FULL Error constant. ErrorConst #REF! ocErrRef SC_OPCODE_ERROR_REF 33 N/A Constant FormulaCompiler.cxx compiler.cxx - 5.5 FULL Error constant. ErrorConst #NAME? ocErrName / ocNoName SC_OPCODE_ERROR_NAME / SC_OPCODE_NO_NAME 34/367 N/A Constant FormulaCompiler.cxx compiler.cxx - 5.5 FULL #NAME? = bad function/ref. ErrorConst #NUM! ocErrNum SC_OPCODE_ERROR_NUM 35 N/A Constant FormulaCompiler.cxx compiler.cxx - 5.5 FULL Error constant. ErrorConst #N/A ocErrNA SC_OPCODE_ERROR_NA 36 N/A Constant FormulaCompiler.cxx compiler.cxx - 5.5 FULL Error constant. Missing Missing ocMissing SC_OPCODE_MISSING 11 N/A N/A FormulaCompiler.cxx compiler.cxx - 5.6 FULL Optional parameter placeholder. Spaces sp ocSpaces SC_OPCODE_SPACES 13 N/A N/A FormulaCompiler.cxx:830 compiler.cxx - 5.2 FULL Whitespace converted to intersection in references. NamedExpr Name ocName SC_OPCODE_NAME 4 N/A N/A FormulaCompiler.cxx compiler.cxx - 3.7 FULL Named expressions resolvable. ExternalRef External ocExternalRef SC_OPCODE_EXTERNAL_REF 5 N/A N/A FormulaCompiler.cxx compiler.cxx - 3.8 FULL External named expressions (UNO ext). QuotedLabel "Label" - - - N/A N/A FormulaCompiler.cxx compiler.cxx - 3.9 UNVERIFIED Quoted labels as implicit intersection not confirmed in source.