Next: Bitwise logical operators, Previous: %LOC as an rvalue, Up: Extensions implemented in GNU Fortran [Contents][Index]
GNU Fortran supports .XOR. as a logical operator with -std=legacy for compatibility with legacy code. .XOR. is equivalent to .NEQV.. That is, the output is true if and only if the inputs differ.
.XOR.
-std=legacy
.NEQV.