@@ -294,7 +294,7 @@ const typename log1p_initializer<T, Policy, tag>::init log1p_initializer<T, Poli
294294
295295} // namespace detail
296296
297- template <BOOST_MATH_ARBITRARY_REAL T, BOOST_MATH_POLICY Policy>
297+ template <BOOST_MATH_ARBITRARY_ARITHMETIC T, BOOST_MATH_POLICY Policy>
298298inline typename tools::promote_args<T>::type log1p (T x, const Policy&)
299299{
300300 typedef typename tools::promote_args<T>::type result_type;
@@ -425,15 +425,15 @@ inline long double log1p(long double x, const Policy& pol)
425425#endif
426426#endif
427427
428- template <BOOST_MATH_ARBITRARY_REAL T>
428+ template <BOOST_MATH_ARBITRARY_ARITHMETIC T>
429429inline typename tools::promote_args<T>::type log1p (T x)
430430{
431431 return boost::math::log1p (x, policies::policy<>());
432432}
433433//
434434// Compute log(1+x)-x:
435435//
436- template <BOOST_MATH_ARBITRARY_REAL T, BOOST_MATH_POLICY Policy>
436+ template <BOOST_MATH_ARBITRARY_ARITHMETIC T, BOOST_MATH_POLICY Policy>
437437inline typename tools::promote_args<T>::type
438438 log1pmx (T x, const Policy& pol)
439439{
@@ -465,7 +465,7 @@ inline typename tools::promote_args<T>::type
465465 return result;
466466}
467467
468- template <BOOST_MATH_ARBITRARY_REAL T>
468+ template <BOOST_MATH_ARBITRARY_ARITHMETIC T>
469469inline typename tools::promote_args<T>::type log1pmx (T x)
470470{
471471 return log1pmx (x, policies::policy<>());
0 commit comments