https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64054
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- 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); > } I get 0.000000 0x0.0000000000000p+0 Rainer