(j3.2006) G editing to a narrow output field

Robert Corbett robert.corbett
Wed Aug 17 00:50:16 EDT 2011


Consider the program

      PROGRAM MAIN
        PRINT '(G6.5)', 1.0
      END

When I compiled and ran this program the most
common output was

******

OSS Fortran produces that output.

I think the output should be

**   

which was produced by one of the implementations
I tried.  To be clear, there are four blanks
after the two asterisks.

Am I mistaken?

Bob Corbett



More information about the J3 mailing list