summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-03 15:54:13 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-03 15:54:13 +0000
commitdc043b872674f666bcd35c54b1f477f5974dbb2a (patch)
tree390e0c4e68b3382f5c501c1cb4665d52b98ea147 /contrib
parent88a23f1e6e2b60713de976abc9742bdcf98e418c (diff)
downloadgcc-dc043b872674f666bcd35c54b1f477f5974dbb2a.tar.gz
Enable Mathematical Special Functions for C++17
* include/bits/c++config (_GLIBCXX_USE_STD_SPEC_FUNCS): Define for C++17, or for C++11/C++14 when __STDCPP_WANT_MATH_SPEC_FUNCS__ is true. * include/bits/specfun.h [!__STDCPP_WANT_MATH_SPEC_FUNCS__]: Don't do #error for C++17. * include/c_global/cmath: Check _GLIBCXX_USE_STD_SPEC_FUNCS instead of __STDCPP_WANT_MATH_SPEC_FUNCS__. * include/tr1/bessel_function.tcc: Likewise. * include/tr1/beta_function.tcc: Likewise. * include/tr1/cmath: Likewise. * include/tr1/ell_integral.tcc: Likewise. * include/tr1/exp_integral.tcc: Likewise. * include/tr1/gamma.tcc: Likewise. * include/tr1/hypergeometric.tcc: Likewise. * include/tr1/legendre_function.tcc: Likewise. * include/tr1/modified_bessel_func.tcc: Likewise. * include/tr1/poly_hermite.tcc: Likewise. * include/tr1/poly_laguerre.tcc: Likewise. * include/tr1/riemann_zeta.tcc: Likewise. * include/tr1/special_function_util.h: Likewise. * testsuite/26_numerics/headers/cmath/functions_std_c++17.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239081 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions