From e5c499b833a329876649f7efc1cbdc7b9a64092c Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Thu, 26 Oct 2017 18:49:26 +0000 Subject: Describe arithmetic operators --- doc/manual/expressions/language-operators.xml | 40 +++++++++++++++++++++------ 1 file changed, 31 insertions(+), 9 deletions(-) (limited to 'doc/manual/expressions') diff --git a/doc/manual/expressions/language-operators.xml b/doc/manual/expressions/language-operators.xml index a3323ced4c50..f1f75093461b 100644 --- a/doc/manual/expressions/language-operators.xml +++ b/doc/manual/expressions/language-operators.xml @@ -40,6 +40,11 @@ weakest binding). Call function e1 with argument e2. + + - e + none + Arithmetic negation. + e ? attrpath @@ -55,13 +60,24 @@ weakest binding). List concatenation. - e1 + e2 + + e1 * e2, + e1 / e2 + left - String or path concatenation. + Arithmetic multiplication and division. - ! e + + e1 + e2, + e1 - e2 + left + Arithmetic addition and subtraction. String or path concatenation (only by +). + + + ! e + none Boolean negation. @@ -75,16 +91,22 @@ weakest binding). attributes). - e1 == - e2 + + e1 < e2, + e1 > e2, + e1 <= e2, + e1 >= e2 + none - Equality. + Arithmetic comparison. - e1 != - e2 + + e1 == e2, + e1 != e2 + none - Inequality. + Equality and inequality. e1 && -- cgit 1.4.1