diff options
author | Marc Glisse <marc.glisse@normalesup.org> | 2011-08-18 16:56:55 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2011-08-18 16:56:55 +0000 |
commit | 079a5ca908d071303b0133eb93d2a7db5ff55330 (patch) | |
tree | 210f2ae634b1527078a0e328a7267b6eb8a3ee20 /libstdc++-v3 | |
parent | 6ba30237b918e2d8c35bf481767ccd525499625e (diff) | |
download | gcc-079a5ca908d071303b0133eb93d2a7db5ff55330.zip gcc-079a5ca908d071303b0133eb93d2a7db5ff55330.tar.gz gcc-079a5ca908d071303b0133eb93d2a7db5ff55330.tar.bz2 |
cmath: Extend/update comment.
2011-08-18 Marc Glisse <marc.glisse@normalesup.org>
* include/tr1/cmath: Extend/update comment.
From-SVN: r177873
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/tr1/cmath | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2145f89..cd89789 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/include/tr1/cmath b/libstdc++-v3/include/tr1/cmath index d104572..06631e5 100644 --- a/libstdc++-v3/include/tr1/cmath +++ b/libstdc++-v3/include/tr1/cmath @@ -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 |