This is the mail archive of the
libstdc++-prs@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++/99
- To: nobody at sourceware dot cygnus dot com
- Subject: Re: libstdc++/99
- From: pme at sourceware dot cygnus dot com
- Date: 3 Feb 2001 01:37:01 -0000
- Cc: libstdc++-prs at sourceware dot cygnus dot com,
- Reply-To: pme at sourceware dot cygnus dot com
The following reply was made to PR libstdc++/99; it has been noted by GNATS.
From: pme@sourceware.cygnus.com
To: evan.harris@dsto.defence.gov.au, libstdc++-gnats@sourceware.cygnus.com,
nobody@sourceware.cygnus.com
Cc:
Subject: Re: libstdc++/99
Date: 3 Feb 2001 01:35:24 -0000
Synopsis: ostream setw and width breaks double/float output
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Fri Feb 2 17:35:24 2001
State-Changed-Why:
Thank you for your bug report.
Using current CVS sources,
83% cat o99.cc
#include <iostream>
#include <iomanip>
using namespace std;
int
main(int, char**)
{
cout << setfill('_') << setw(20) << 3.14159
<< endl;
return 0;
}
84% g++ o99.cc
85% ./a.out
_____________3.14159
86%
so this appears to be fixed.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=99&database=libstdc++