[Patch, fortran] PR24174 real(10) and complex(10) array IO broken.

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Sun Nov 6 20:42:00 GMT 2005


Janne Blomqvist wrote:
>>If the number can be expressed exactly in decimal, testing for equality is the
>>right thing.  If the user writes "1.0" he expects this to be read back as 1.0.
> 
> 
> Yes, it'll work if the number is exactly representable (in both
> decimal and binary, right?). But the point of the testcase was more to
> test for incorrect padding and things like that (in which case an
> obviously incorrect value will almost certainly be generated), so I
> don't think it matters as such in this case.
> 
> Anyway, if you feel strongly about it I can change it back to what it
> was originally.

No, I don't feel strongly about this.  I don't think there's much point in
"fixing" this testcase, it's just something we should keep in mind in the future.

Thanks,
- Tobi



More information about the Fortran mailing list