This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/22542] ostringstream ignores fenv settings (incorrect output)
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2005 09:16:20 -0000
- Subject: [Bug libstdc++/22542] ostringstream ignores fenv settings (incorrect output)
- References: <20050718084721.22542.stefan.becuwe@ua.ac.be>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-07-18 09:16 -------
Well, certainly, this is not a libstdc++-v3 bug: internally we are simply
printing floating point numbers using sprintf (or snprintf, when available), as
mandated by the standard. Actually, however, I'm not at all sure what's the
point of your report: you are changing the rounding mode for floating point
operations, but in the testcase there aren't: there is only the definition of
p (taking place *before* any setround)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22542