little questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux