This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/60401] stdlib.h does not provide abs(long) overload


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]