This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gfortran: PR libfortran/20124 - incorrect roundingwhen writingfloating point numbers


Approved and committed to both mainline and the gcc-4_0 branch with the
following test:



! { dg-do run }
! pr 20124
      character*80 line
      x = -.01
      y = .01
      write(line,'(2f10.2)') x, y
      if (line.ne.'     -0.01      0.01') call abort
      end



--bud



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]