This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,libgfortran] Fix NIST fm906.for
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: bmoses at stanford dot edu
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 10 Jul 2005 23:17:07 +0200
- Subject: Re: [patch,libgfortran] Fix NIST fm906.for
- References: <42D17B2D.4090005@wanadoo.fr>
Sir, You are a scholar and a gentleman!
<<You're reading the wrong part of the standard (assuming that's the F95
standard, which it appears to be); that's talking about list-directed
_output_. On list-directed _input_ of complex values, it has this to say:
10.8.1: "Each of the numeric input fields may be preceeded or followed
by blanks. The end of a record may occur between the real part and the
comma or between the comma and the imaginary part." >>
You are absolutely right: I had been worrying about this, which is why
I mention it.
<<Also, given those requirements, I think it also may be worth including
a test case that has the comma on the second line to make sure that
works correctly as well.>>
At this moment, it will fail. By tomorrow night it will be as right as
rain.
Many thanks!
Paul T