g77 minor bugs (egcs-2.91.60 19981201 (egcs-1.1.1 release))

craig@jcb-sc.com craig@jcb-sc.com
Fri Apr 30 23:15:00 GMT 1999


>g77 outputs
>
>  1.23456789
>.12345678901235E+01
>
>Which in neither case would seem to me to be wholly satisfactory. Surely
>the PRINT * should output to full DOUBLE PRECISION accuracy and the
>second WRITE should output the number as .12345678901235D+01

You might want to ask <dmg@bell-labs.com>, libf2c maintainer, about the
first item, as g77 just uses libf2c for I/O.  The Fortran standard(s),
though, permit an implementation this freedom.

The second item definitely is okay as is -- the standards clearly permit
it, AFAIR.

        tq vm, (burley)



More information about the Gcc-bugs mailing list