Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Summary of Operator Precedence

The following table shows the precedence of all intrinsic and defined operators:

Precedence of Expression Operators

Category

Operator

Precedence

Defined Unary Operators

Highest

Numeric

**

.

Numeric

* or /

.

Numeric

Unary + or -

.

Numeric

Binary + or -

.

Character

//

.

Relational

.EQ., .NE., .LT., .LE., .GT., .GE., = =, /=, <, <=, >, >=

.

Logical

.NOT.

.

Logical

.AND.

.

Logical

.OR.

.

Logical

.XOR., .EQV., .NEQV.

.

Defined Binary Operators

Lowest