Simple fortran program:
       program test
       real*8  a
       real    b
       a = 3.1415926279290d0
       write(*,*) a
       b = a
       write(*,*) b
       stop
       end

Output:   3.14159263
          3.14159274

I guess that the default width for real*8 numbers 
is 15. I got only 9.

-- 
           Summary: incorrect field width in format-free output of real*8
                    numbers
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lipnikov at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org,lipnikov at hotmail dot
                    com
 GCC build triplet: 3.4.3
  GCC host triplet: 3.4.3
GCC target triplet: 3,4,4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18440

Reply via email to