[Bug fortran/60128] [4.8/4.9 Regression] Wrong ouput using en edit descriptor

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Tue Mar 18 10:59:00 GMT 2014


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

--- Comment #15 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
What is the output of

write(*,"(en15.1)") 9.49999905
end

? If it is 9.4, it means that your snprintf is not rounding to nearest but to
zero.



More information about the Gcc-bugs mailing list