Add C++11 <cmath> overloads to the global namespace
authorJonathan Wakely <jwakely@redhat.com>
Wed, 20 Jan 2016 17:44:58 +0000 (17:44 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 20 Jan 2016 17:44:58 +0000 (17:44 +0000)
commit3f93466af47bdb6e88d24fcda7a3c76be3d173e4
treefaad6b3806cd5122961417f5bca75100bf71f3b6
parentcd8e73dc676e966ba6e9d9f4cbb0d69506d3a542
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.

From-SVN: r232627
libstdc++-v3/ChangeLog
libstdc++-v3/include/c_compatibility/math.h
libstdc++-v3/testsuite/26_numerics/headers/cmath/60401.cc [new file with mode: 0644]