numerical_type :: a,b |
logical :: a b |
F77/F90 | F90 | Meaning |
.GT. | greater than | |
.GE. | g.t. or equal to | |
.LE. | l.t. or equal to | |
.LT. | less than | |
.NE. | not equal to | |
.EQ. | equal to |
Relational operators compare the values of two numerical operands and deliver a logical result (.TRUE. or .FALSE.). Note that for complex operands only .EQ. and .NE. can be used.
Example.
a = 12.0 if ( a.GE.10.0 ) then ... |
The expression a .GE. 10 evaluates to .TRUE.