This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/37472] bad output on default-format write of double in common block with -m64 flag i



------- Comment #4 from burnus at gcc dot gnu dot org  2008-09-11 14:27 -------
Jerry, do you know why gfortran 4.3/4.4 prints one trailing zero more for 1000
than for other numbers? 4.2 used the same number of trailing digits.

  1000.00000
   1001.0000
for
  print *, 1000.0
  print *, 1001.0
  end

If one uses 0.2 more, one gets the expected
   1000.2000
   1001.2000

And for 100.0 it is off by one again.

(Maybe you have also an idea about the problem in comment 0.)


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu dot
                   |                            |org


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


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