Welcome
|
spec
|
C-PLOT
|
Support
|
Users
|
Contact
Documentation
Contents
->
Standard User Functions
->
calc.4
-> Operators
C-PLOT Manual
Prev
|
Next
C.2.3. - Operators
The arithmetic operators are, in order of precedence:
parentheses for grouping
:
( )
unary plus and minus
:
+ -
exponentiation
:
^
multiply, divide, modulus
:
* / %
addition and subtraction
:
+ -
assignment
:
=
assignment with operator
:
+= -= *= /= %= ^=
As in the C language, the operation
x
+= 1 means
x
=
x
+ 1.
Top
Prev
|
Next