a30dbb3960
* src/cmath.cc: Remove. * src/Makefile.am (c_base_headers): Add bits/cmath.tcc. (sources): Remove cmath.cc * src/Makefile.in: Regenerate. * include/c/bits/std_cmath.h (__cmath_power<>): Declare. (__cmath_abs<>): New function. (abs, fabs): Use __cmath_abs when no direct support is available. (__pow_helper<>): New function. (pow): Define here. Use __pow_helper<>. * include/c/bits/cmath.tcc: New file. From-SVN: r37901 |
||
---|---|---|
.. | ||
cmath.tcc | ||
std_cassert.h | ||
std_cctype.h | ||
std_cerrno.h | ||
std_cfloat.h | ||
std_climits.h | ||
std_clocale.h | ||
std_cmath.h | ||
std_csetjmp.h | ||
std_csignal.h | ||
std_cstdarg.h | ||
std_cstddef.h | ||
std_cstdio.h | ||
std_cstdlib.h | ||
std_cstring.h | ||
std_ctime.h | ||
std_cwchar.h | ||
std_cwctype.h |