Example:
double precision r r = 3.14; |
double precision r1, r2 r2 = r1 = 3.14 ! Illegal |
** | exponentation |
* , / | multiply, divide |
+ , - | add, subtract |
Example:
integer i, j, k real x, y, z i = 2; j = 3; k = i**j ! Cube x = 2; y = 0.5; z = x**y ! Square root.... |
New | Old | Meaning |
---|---|---|
== | .EQ. | Equal to |
<> | .NE. | Not equal to |
< | .LT. | Less than |
<= | .LE. | Less than or equal |
> | .GT. | Greater than |
>= | .GE. | Greater than or equal |
.NOT. | Logical negation |
.AND. | Logical AND |
.OR. | Logical OR |
But don't worry, you will see how these operators are used later...