This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45542] std::pow(float) converts to double when compiled with -std=gnu++0x
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2010 15:36:48 -0000
- Subject: [Bug c++/45542] std::pow(float) converts to double when compiled with -std=gnu++0x
- References: <bug-45542-16413@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from paolo dot carlini at oracle dot com 2010-09-05 15:36 -------
The issue affects only mixed mode arithmetic (thus, functions taking at least
two arguments), and in that case, as Howard explained, C++0x does what Fortran
and C do. In any case, we are implementing correctly the FCD, for sure.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45542