Next: , Previous: , Up: Extensions implemented in GNU Fortran   [Contents][Index]


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