[Bug libfortran/48906] Wrong rounding results with -m32

thenlich at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Tue May 31 06:41:00 GMT 2011


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

--- Comment #16 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-05-31 06:28:25 UTC ---
    print "(rc,g11.1)", 2. ! 0.2E+01 expected 2.
    print "(rc,g11.2)", 20. ! 0.20E+02 expected 20.
    print "(rc,g11.3)", 200. ! 0.200E+03 expected 200.
    print "(rc,g11.4)", 2000. ! 0.2000E+04 expected 2000.

    print "(rc,g11.2)", .04 ! 0.40 expected 0.40E-01
    print "(rc,g11.3)", .04 ! 0.400 expected 0.400E-01



More information about the Gcc-bugs mailing list