]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/math/special_functions/relative_difference.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / math / special_functions / relative_difference.hpp
index 544feda61beb16571ba87cea8aa56fda6d519506..57ad245ef5923ae24d6d6a37f05dbfdc421bfdce 100644 (file)
@@ -69,7 +69,7 @@ namespace boost{
          return (std::max)(fabs((a - b) / a), fabs((a - b) / b));
       }
 
-#if defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
+#if (defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && (LDBL_MAX_EXP <= DBL_MAX_EXP)
       template <>
       inline boost::math::tools::promote_args<double, double>::type relative_difference(const double& arg_a, const double& arg_b)
       {