This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Two of Eef's bugs, was: Re: gfortran
On Fri, Dec 22, 2006 at 09:20:12AM -0800, Steve Kargl wrote:
> "Integer output constants are produced with the effect of
> an Iw edit descriptor."
> ...
> "For numeric output, reasonable processor-dependent values
> of w, d, and e are used for each of the numeric constants
> output."
In this case, we could make the default format for list-directed
output of integers '(" ",I0)'.
>
> For portable code, Eef needs to determine the processor-dependent
> value for w.
I don't think w has to be the same value for all constants. It
would probably be best to use a format that cannot overflow
the substring, such as
write (unit=c(1:5),fmt='(I5)') i