>You may wish to file a bug report with Absoft since the incomplete processing
>of
>these input values contradicts the Fortran standard.
Not so, the program contradicts the Fortran standard.
Mudelsee M wrote:
> I was puzzled by the behaviour of the Fortran 90 code below (compiled
> with AbSoft 10.0, Windows XP machines, keyboard language German): the
> executable took without complaining (i.e., ioerr = 0) following inputs
> of mine at the read statement for the real variable and reset the a
> values (in parentheses as follows:
> q (a = 0)
> e (a = 0)
> / (a unchanged)
> i (a = INF)
> d (a = 0)
> n (a = NaN)
Except for slash (handled correctly), none of those inputs satisfy the
requirements of the Fortran standard. Many compilers will produce iostat error
codes for reading invalid input, but the standard does not require that (the set
of i/o errors is "processor-defined").
It might still be worth complaining to Absoft, since the behaviour is not
exactly helpful.
Cheers,
--
................................Malcolm Cohen, Nihon NAG, Tokyo.
|