[Bug fortran/60128] [4.8/4.9 Regression] Wrong ouput using en edit descriptor
ro at CeBiTec dot Uni-Bielefeld.DE
gcc-bugzilla@gcc.gnu.org
Tue Mar 18 11:04:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60128
--- Comment #16 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- 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.
No, that's not it: I get
9.5E+00
Rainer
More information about the Gcc-bugs
mailing list