Add C++11 <cmath> overloads to the global namespace
commitf4a2cfed8aaf2ec1f07edda8396bfe2562a893c1
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jan 2016 17:44:58 +0000 (20 17:44 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jan 2016 17:44:58 +0000 (20 17:44 +0000)
treefaad6b3806cd5122961417f5bca75100bf71f3b6
parent6ebc6587dad408b73608a81e60de36c1d4b3af04
Add C++11 <cmath> overloads to the global namespace

PR libstdc++/60401
* include/c_compatibility/math.h (acosh, asinh, atanh, acbrt,
copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb,
lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn,
tgamma, trunc) [__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]:
Add using declarations.
* testsuite/26_numerics/headers/cmath/60401.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232627 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/c_compatibility/math.h
libstdc++-v3/testsuite/26_numerics/headers/cmath/60401.cc [new file with mode: 0644]