[Bug fortran/37834] New: write(*,'(f0.0)') 0.0 prints "." instead of "0."

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 15 08:16:00 GMT 2008


Found at 
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/57938d5454a90397/589afd86ab2aab9b

The program
  write(*,'(f0.0)') 0.0
  end
outputs .  with gfortran and 0. with ifort, NAG f95, g95, openf95.


-- 
           Summary: write(*,'(f0.0)') 0.0  prints "." instead of "0."
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list