Type:
+: integer -> integer
+: real -> real
Call syntax:
+x
Description:
The unary numerical operator "+" realises
the application of a positive sign. Since this operation
is equivalent to not changing the numerical object,
it is only supported to facilitate notations like
+3 or +12.34 analogously to -3 or -12.34; however,
unary "+" and "-" can be arbitrarily mixed.
In expressions, unary "+" binds stronger than than equality and relational operators, but weaker than "*", "/", "div" and "mod".
Example:
> +2.78
Result= 2.78
> +-314
Result= -314
> +(0.815-5.526)
Result= -4.711
See also: Operator "-" (_NEG, unary), Operators and Expressions.