This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/48787] Invalid UP rounding with F editing
- From: "thenlich at users dot sourceforge.net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 2 May 2011 13:58:54 +0000
- Subject: [Bug libfortran/48787] Invalid UP rounding with F editing
- Auto-submitted: auto-generated
- References: <bug-48787-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48787
Thomas Henlich <thenlich at users dot sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24138|0 |1
is obsolete| |
Attachment #24164|0 |1
is obsolete| |
--- Comment #15 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-05-02 13:48:02 UTC ---
Created attachment 24165
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24165
More examples of up/down rounding bug.
There is another issue here where rounding goes wrong:
It seems all values greater than 0.0 and smaller than 0.1 are rounded
incorrectly with ROUND=UP; all values smaller than 0.0 and greater than -0.1
are rounded incorrectly with ROUND=DOWN.