]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/math/special_functions/detail/bessel_k0.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / math / special_functions / detail / bessel_k0.hpp
index d3df1825555d89d5779441fb0b8ee21c149092aa..b8da8989a55cba80c66889110906d49646477ee4 100644 (file)
@@ -23,7 +23,7 @@
 // This is the only way we can avoid
 // warning: non-standard suffix on floating constant [-Wpedantic]
 // when building with -Wall -pedantic.  Neither __extension__
-// nor #pragma dianostic ignored work :(
+// nor #pragma diagnostic ignored work :(
 //
 #pragma GCC system_header
 #endif
@@ -55,12 +55,12 @@ struct bessel_k0_initializer
       {
          do_init(tag());
       }
-      static void do_init(const mpl::int_<113>&)
+      static void do_init(const boost::integral_constant<int, 113>&)
       {
          bessel_k0(T(0.5));
          bessel_k0(T(1.5));
       }
-      static void do_init(const mpl::int_<64>&)
+      static void do_init(const boost::integral_constant<int, 64>&)
       {
          bessel_k0(T(0.5));
          bessel_k0(T(1.5));
@@ -81,14 +81,14 @@ const typename bessel_k0_initializer<T, tag>::init bessel_k0_initializer<T, tag>
 
 
 template <typename T, int N>
-T bessel_k0_imp(const T& x, const mpl::int_<N>&)
+T bessel_k0_imp(const T& x, const boost::integral_constant<int, N>&)
 {
    BOOST_ASSERT(0);
    return 0;
 }
 
 template <typename T>
-T bessel_k0_imp(const T& x, const mpl::int_<24>&)
+T bessel_k0_imp(const T& x, const boost::integral_constant<int, 24>&)
 {
    BOOST_MATH_STD_USING
    if(x <= 1)
@@ -158,7 +158,7 @@ T bessel_k0_imp(const T& x, const mpl::int_<24>&)
 }
 
 template <typename T>
-T bessel_k0_imp(const T& x, const mpl::int_<53>&)
+T bessel_k0_imp(const T& x, const boost::integral_constant<int, 53>&)
 {
    BOOST_MATH_STD_USING
    if(x <= 1)
@@ -248,7 +248,7 @@ T bessel_k0_imp(const T& x, const mpl::int_<53>&)
 }
 
 template <typename T>
-T bessel_k0_imp(const T& x, const mpl::int_<64>&)
+T bessel_k0_imp(const T& x, const boost::integral_constant<int, 64>&)
 {
    BOOST_MATH_STD_USING
       if(x <= 1)
@@ -348,7 +348,7 @@ T bessel_k0_imp(const T& x, const mpl::int_<64>&)
 }
 
 template <typename T>
-T bessel_k0_imp(const T& x, const mpl::int_<113>&)
+T bessel_k0_imp(const T& x, const boost::integral_constant<int, 113>&)
 {
    BOOST_MATH_STD_USING
       if(x <= 1)
@@ -475,16 +475,16 @@ T bessel_k0_imp(const T& x, const mpl::int_<113>&)
 }
 
 template <typename T>
-T bessel_k0_imp(const T& x, const mpl::int_<0>&)
+T bessel_k0_imp(const T& x, const boost::integral_constant<int, 0>&)
 {
    if(boost::math::tools::digits<T>() <= 24)
-      return bessel_k0_imp(x, mpl::int_<24>());
+      return bessel_k0_imp(x, boost::integral_constant<int, 24>());
    else if(boost::math::tools::digits<T>() <= 53)
-      return bessel_k0_imp(x, mpl::int_<53>());
+      return bessel_k0_imp(x, boost::integral_constant<int, 53>());
    else if(boost::math::tools::digits<T>() <= 64)
-      return bessel_k0_imp(x, mpl::int_<64>());
+      return bessel_k0_imp(x, boost::integral_constant<int, 64>());
    else if(boost::math::tools::digits<T>() <= 113)
-      return bessel_k0_imp(x, mpl::int_<113>());
+      return bessel_k0_imp(x, boost::integral_constant<int, 113>());
    BOOST_ASSERT(0);
    return 0;
 }
@@ -492,7 +492,7 @@ T bessel_k0_imp(const T& x, const mpl::int_<0>&)
 template <typename T>
 inline T bessel_k0(const T& x)
 {
-   typedef mpl::int_<
+   typedef boost::integral_constant<int,
       ((std::numeric_limits<T>::digits == 0) || (std::numeric_limits<T>::radix != 2)) ?
       0 :
       std::numeric_limits<T>::digits <= 24 ?