http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49048
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-05-18 17:55:34 UTC --- If anything, this is a glibc issue, because we use printf as an implementation detail. Try 'printf("%.2f", 5798.12500)'