]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/test/cohen_acceleration_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / math / test / cohen_acceleration_test.cpp
index 291cb85b6490368e715b5e77eb360b99917ea809..e29b2fb36c94d1cf592e5aff5205ec5db1291bca 100644 (file)
 using boost::multiprecision::float128;
 #endif
 #include <boost/multiprecision/cpp_bin_float.hpp>
+#include <cmath>
 
 using boost::math::tools::cohen_acceleration;
 using boost::multiprecision::cpp_bin_float_100;
 using boost::math::constants::pi;
+using std::log;
 
 template<typename Real>
 class G {
@@ -65,7 +67,7 @@ void test_divergent()
 {
     auto g = Divergent<Real>();
     Real x = -cohen_acceleration(g);
-    CHECK_ULP_CLOSE(log(pi<Real>()/2)/2, x, 80);
+    CHECK_ULP_CLOSE(log(pi<Real>()/2)/2, x, 135);
 }
 
 int main()