Operator |
Initial meaning |
+ |
Integer addition. |
- (infix) |
Integer subtraction. |
- (prefix) |
Integer negation. |
* |
Integer multiplication. |
/ |
Integer division.
Raise Division_by_zero if second argument is zero. The result is
unspecified if either argument is negative. |
mod |
Integer modulus. Raise
Division_by_zero if second argument is zero. The result is
unspecified if either argument is negative. |
land |
Bitwise logical ``and'' on integers. |
lor |
Bitwise logical ``or'' on integers. |
lxor |
Bitwise logical ``exclusive or'' on integers. |
lsl |
Bitwise logical shift left on integers. |
lsr |
Bitwise logical shift right on integers. |
asr |
Bitwise arithmetic shift right on integers. |
+. |
Floating-point addition. |
-. (infix) |
Floating-point subtraction. |
-. (prefix) |
Floating-point negation. |
*. |
Floating-point multiplication. |
/. |
Floating-point division. |
** |
Floating-point exponentiation. |
@ |
List concatenation. |
^ |
String concatenation. |
! |
Dereferencing (return the current
contents of a reference). |
:= |
Reference assignment (update the
reference given as first argument with the value of the second
argument). |
= |
Structural equality test. |
<> |
Structural inequality test. |
== |
Physical equality test. |
!= |
Physical inequality test. |
< |
Test ``less than''. |
<= |
Test ``less than or equal''. |
> |
Test ``greater than''. |
>= |
Test ``greater than or equal''. |