11.07.2015 Views

Fortran 90 Handbook

Fortran 90 Handbook

Fortran 90 Handbook

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7where a relational operator (R714) is one of the operators .EQ., ==, .NE., /=,.LT., =. The operators ==, /=, = are synonyms in all contexts for the operators .EQ., .NE., .LT., .LE., .GT.,and .GE., respectively.Note that the definition of a comparison expression is not recursive, andtherefore comparison expressions cannot contain relational operators incontexts of equal precedence. Examples of comparison expressions are:A .EQ. BA < BA // BA – BA comparison expressionA comparison expressionA concatenation expression is also a comparison expressionA summation expression is also a comparison expression– A A summation expression is also a comparison expressionA ∗ BA ∗∗ B.INVERSE. BAA multiplication expression is also a comparisonexpressionAn exponentiation expression is also a comparisonexpressionA defined-unary expression is also a comparisonexpressionA primary is also a comparison expressionNot Expression. A not expression is an expression in which the operator is.NOT. Its form (R715) is:[ .NOT. ] comparison-expressionNote that the definition of a not expression is not recursive, and therefore notexpressions cannot contain adjacent .NOT. operators. Examples of notexpressions are:.NOT. AA .EQ. BA // BA not expressionA comparison expression is also a not expressionA concatenation expression is also a not expression244 <strong>Fortran</strong> <strong>90</strong> <strong>Handbook</strong>Copyright © 1992 J. Adams, W. Brainerd, J. Martin, B. Smith, and J. Wagener

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!