Next: , Previous: Real array indices, Up: Extensions implemented in GNU Fortran


6.1.11 Unary operators

As an extension, GNU Fortran allows unary plus and unary minus operators to appear as the second operand of binary arithmetic operators without the need for parenthesis.

            X = Y * -Z