]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / math / special_functions / detail / bessel_jy_derivatives_series.hpp
index f282014b798db32666071f41e8cc31240af424ca..098e046854e847a8694f484f32716e1442150da1 100644 (file)
@@ -67,7 +67,7 @@ inline T bessel_j_derivative_small_z_series(T v, T x, const Policy& pol)
 
    bessel_j_derivative_small_z_series_term<T, Policy> s(v, x);
    boost::uintmax_t max_iter = boost::math::policies::get_max_series_iterations<Policy>();
-#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
+#if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x582))
    T zero = 0;
    T result = boost::math::tools::sum_series(s, boost::math::policies::get_epsilon<T, Policy>(), max_iter, zero);
 #else
@@ -181,7 +181,7 @@ inline T bessel_y_derivative_small_z_series(T v, T x, const Policy& pol)
    }
    bessel_y_derivative_small_z_series_term_a<T, Policy> s(v, x);
    boost::uintmax_t max_iter = boost::math::policies::get_max_series_iterations<Policy>();
-#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
+#if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x582))
    T zero = 0;
    T result = boost::math::tools::sum_series(s, boost::math::policies::get_epsilon<T, Policy>(), max_iter, zero);
 #else
@@ -193,7 +193,7 @@ inline T bessel_y_derivative_small_z_series(T v, T x, const Policy& pol)
    p = pow(x / 2, v - 1) / 2;
    if (!need_logs)
    {
-      prefix = boost::math::tgamma(-v, pol) * boost::math::cos_pi(v) * p / boost::math::constants::pi<T>();
+      prefix = boost::math::tgamma(-v, pol) * boost::math::cos_pi(v, pol) * p / boost::math::constants::pi<T>();
    }
    else
    {
@@ -203,7 +203,7 @@ inline T bessel_y_derivative_small_z_series(T v, T x, const Policy& pol)
    }
    bessel_y_derivative_small_z_series_term_b<T, Policy> s2(v, x);
    max_iter = boost::math::policies::get_max_series_iterations<Policy>();
-#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
+#if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x582))
    T b = boost::math::tools::sum_series(s2, boost::math::policies::get_epsilon<T, Policy>(), max_iter, zero);
 #else
    T b = boost::math::tools::sum_series(s2, boost::math::policies::get_epsilon<T, Policy>(), max_iter);