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

thenlich at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Fri May 27 13:14:00 GMT 2011


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

--- Comment #12 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-05-27 13:12:32 UTC ---
The following examples fail:

    print "(rc,g10.2,'<')", 99.5 ! 10. expected 0.10E+03
    print "(rc,g10.2,'<')", 995. ! 1.0E+03 expected 0.10E+04
    print "(rc,g10.3,'<')", 999.5 ! 100. expected 0.100E+04
    print "(rc,g10.3,'<')", 9995. ! 1.0E+04. expected 0.100E+05



More information about the Gcc-bugs mailing list