questionnable nint() behavior

Tobias Schlüter Tobias.Schlueter@Physik.Uni-Muenchen.DE
Thu Mar 23 15:58:00 GMT 2006


Quoting Dominique Dhumieres <dominiq@lps.ens.fr>:
> (This remind me reading the European constitution!) Am I correct to
> understand
> the above as "violating parentheses is FORBIDEN by the standard"?  while
> bypassing the left to right evaluation is allowed, for instance computing
> A+B+C as A+(B+C) instead of (A+B)+C (say because B+C has already been
> computed)?

Yes.  I'm having a hard time parsing the notes, esp. 7.31, but luckily they're
not normative.  If you're really curious, you might want to look at the mailing
list threads linked to from PR 14771, which was about this issue (among others).

- Tobi



More information about the Fortran mailing list