https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48738
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes, this was resolved for C++11 by https://cplusplus.github.io/LWG/issue550 That has been supported by GCC (for C++11 and later) since r0-87638-g774c3d8647cc70 in 2008, for GCC 4.4.0. Libstdc++ only uses __builtin_powi(2.0, -1024) for C++98. For C++11 and later integral arguments are automatically promoted to double, so pow(2.0, -1024.0) is returned.
