[Bug libstdc++/64054] 27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc FAILs

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 24 17:24:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64054

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Doh, so it is, I misread the test code.

Rainer, what does this print (when compiled with -std=c++11)?

#include <string>
#include <stdio.h>

int main()
{
  auto d = std::stod("0x1.1000000000000p+8");
  printf("%f %a\n", d, d);
}



More information about the Gcc-bugs mailing list