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 libfortran/48787] Invalid UP/DOWN rounding with F editing


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

--- Comment #26 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-06-23 06:13:12 UTC ---
Created attachment 24583
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24583
More tests for rounding

If it helps, I added some more tests for this.

By removing the code lines in questions, all tests from this testcase pass
except:
    call checkfmt("(RU,F2.0)",     0.09,  "1.")     ! 0.
    call checkfmt("(RD,F3.0)",     -0.09,  "-1.")     ! -0.


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