r173574 - in /trunk/libstdc++-v3: ChangeLog inc...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Mon May 9 15:38:00 GMT 2011
Author: paolo
Date: Mon May 9 15:38:21 2011
New Revision: 173574
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173574
Log:
2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/48933
* include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
scalbn, tgamma, trunc): Use __enable_if on the return type.
* include/tr1/cmath: Likewise.
* testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
* testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
Added:
trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/c_global/cmath
trunk/libstdc++-v3/include/tr1/cmath
More information about the Libstdc++-cvs
mailing list