]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/math/tools/agm.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / math / tools / agm.hpp
index bd9991ecfb350fdf570ee8caa1f86b882d16dbb5..2b5a06be5dffad046ef6983ab60c900ca03e7bb2 100644 (file)
@@ -5,6 +5,7 @@
 
 #ifndef BOOST_MATH_TOOLS_AGM_HPP
 #define BOOST_MATH_TOOLS_AGM_HPP
+#include <limits>
 #include <cmath>
 
 namespace boost { namespace math { namespace tools {
@@ -12,6 +13,8 @@ namespace boost { namespace math { namespace tools {
 template<typename Real>
 Real agm(Real a, Real g)
 {
+    using std::sqrt;
+    
     if (a < g)
     {
         // Mathematica, mpfr, and mpmath are all symmetric functions: