[Bug libstdc++/49048] setprecision rounding fails in some cases
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Wed May 18 18:26:00 GMT 2011
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)'
More information about the Gcc-bugs
mailing list