public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/59987] New: [C++11]: Missing ios_base::hexfloat format specifier
@ 2014-01-29 17:42 npl at chello dot at
2014-09-19 11:10 ` [Bug libstdc++/59987] " redi at gcc dot gnu.org
2014-10-06 15:56 ` redi at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: npl at chello dot at @ 2014-01-29 17:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59987
Bug ID: 59987
Summary: [C++11]: Missing ios_base::hexfloat format specifier
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: npl at chello dot at
The specifier for hexadecimal floats is missing:
http://www.cplusplus.com/reference/ios/hexfloat/
I suppose the parsing of this format isnt working either (only tested this with
gcc 4.7, but there doesnt seem to be any changes).
stringstream instream("0x1.0624dd2f1a9fcp-10");
double val;
instream >> val; // should be 0.001
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libstdc++/59987] [C++11]: Missing ios_base::hexfloat format specifier
2014-01-29 17:42 [Bug libstdc++/59987] New: [C++11]: Missing ios_base::hexfloat format specifier npl at chello dot at
@ 2014-09-19 11:10 ` redi at gcc dot gnu.org
2014-10-06 15:56 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2014-09-19 11:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59987
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2014-09-19
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Target Milestone|--- |5.0
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
There's a patch for this waiting to be applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libstdc++/59987] [C++11]: Missing ios_base::hexfloat format specifier
2014-01-29 17:42 [Bug libstdc++/59987] New: [C++11]: Missing ios_base::hexfloat format specifier npl at chello dot at
2014-09-19 11:10 ` [Bug libstdc++/59987] " redi at gcc dot gnu.org
@ 2014-10-06 15:56 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2014-10-06 15:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59987
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Oct 6 15:55:53 2014
New Revision: 215952
URL: https://gcc.gnu.org/viewcvs?rev=215952&root=gcc&view=rev
Log:
2014-10-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/59987
* doc/xml/manual/status_cxx2011.xml: Remove hexfloat from notes.
* doc/html/manual/status.html: Regenerate.
* include/bits/ios_base.h (hexfloat): New function.
(defaultfloat): New function.
* src/c++98/locale_facets.cc (__num_base::_S_format_float): Support
hexadecimal floating point format.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc:
New file.
Added:
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/html/manual/status.html
trunk/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
trunk/libstdc++-v3/include/bits/ios_base.h
trunk/libstdc++-v3/src/c++98/locale_facets.cc
>From gcc-bugs-return-463378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 06 15:59:05 2014
Return-Path: <gcc-bugs-return-463378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31096 invoked by alias); 6 Oct 2014 15:59:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 31040 invoked by uid 48); 6 Oct 2014 15:59:01 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/59987] [C++11]: Missing ios_base::hexfloat format specifier
Date: Mon, 06 Oct 2014 15:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-59987-4-dnM7f18rf8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59987-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59987-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg00399.txt.bz2
Content-length: 611
https://gcc.gnu.org/bugzilla/show_bug.cgi?idY987
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
std::hexfloat and std::defaultfloat support is committed now.
Parsing hexadecimal floats is not supported in C++, that is a known issue, see
http://cplusplus.github.io/LWG/lwg-active.html#2381
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-06 15:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 17:42 [Bug libstdc++/59987] New: [C++11]: Missing ios_base::hexfloat format specifier npl at chello dot at
2014-09-19 11:10 ` [Bug libstdc++/59987] " redi at gcc dot gnu.org
2014-10-06 15:56 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).