* little questions
@ 2014-09-01 13:58 Graziano Servizi
2014-09-01 14:34 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Graziano Servizi @ 2014-09-01 13:58 UTC (permalink / raw)
To: gcc-help
Aren't declared yet in std the
hexfloat
defaultfloat
C++11 manipulators?
It is planned to introduce them?
I ask this because the statement
std :: cout << 0x1.8p-1 << std :: endl;
is recognized by the 4.8.3 release of the gcc/g++ compiler and prints
out (correctly) 0.75 while the "opposite"
(which I argued could print 1.8p-1)
std :: cout << std :: hexfloat << 0.75 << std :: endl;
is considered erroneous: the compiler claims hexfloat being not declared
(all reasonable headers were been included).
Thanks
G. Servizi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: little questions
2014-09-01 13:58 little questions Graziano Servizi
@ 2014-09-01 14:34 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2014-09-01 14:34 UTC (permalink / raw)
To: Graziano Servizi; +Cc: gcc-help
On 1 September 2014 14:58, Graziano Servizi wrote:
> Aren't declared yet in std the
>
> hexfloat
> defaultfloat
>
> C++11 manipulators?
>
> It is planned to introduce them?
Yes, there is a patch from earlier this year (see the libstdc++ list
archives) that still needs to be applied.
It's on my TODO list.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-01 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-01 13:58 little questions Graziano Servizi
2014-09-01 14:34 ` Jonathan Wakely
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).