[Bug libstdc++/60401] stdlib.h does not provide abs(long) overload
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 20 17:45:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Jan 20 17:44:58 2016
New Revision: 232627
URL: https://gcc.gnu.org/viewcvs?rev=232627&root=gcc&view=rev
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/60401.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/c_compatibility/math.h
More information about the Gcc-bugs
mailing list