cmath: Extend/update comment.

2011-08-18  Marc Glisse  <marc.glisse@normalesup.org>

	* include/tr1/cmath: Extend/update comment.

From-SVN: r177873
This commit is contained in:
Marc Glisse 2011-08-18 16:56:55 +00:00 committed by Paolo Carlini
parent 6ba30237b9
commit 079a5ca908
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-08-18 Marc Glisse <marc.glisse@normalesup.org>
* include/tr1/cmath: Extend/update comment.
2011-08-18 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/50119

View File

@ -567,6 +567,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
// Note: we deal with fabs in a special way, because an using std::fabs
// would bring in also the overloads for complex types, which in C++0x
// mode have a different return type.
// With __CORRECT_ISO_CPP_MATH_H_PROTO1, math.h imports std::fabs in the
// global namespace after the declarations of the float / double / long
// double overloads but before the std::complex overloads.
using ::fabs;
#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1