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

            Bug ID: 57399
           Summary: errors in formatted print of floating numbers
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: custos.mentis at gmail dot com

A simple test of formated print

write(*,"(1e10.2,1x,f8.2,1x,1pe10.2,1x,f8.2)") 100.0, 100.0, 100.0, 100.0

results in wrong output:

0.10E+03   100.00   1.00E+02  1000.00
                              -------

All four numbers should be equal 100.0, but the last one is 10 x larger!

I am using GNU Fortran (Gentoo 4.6.3 p1.13, pie-0.5.2) 4.6.3

Reply via email to