]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/test/test_lambert_w_derivative.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / math / test / test_lambert_w_derivative.cpp
index c5cd28a2108242c866d3c687425217871c29643a..55e1a29a32a33482dc024abdfacfabb711b7409d 100644 (file)
@@ -9,6 +9,17 @@
 // test_lambert_w.cpp
 //! \brief Basic sanity tests for Lambert W derivative.
 
+#include <climits>
+#include <cfloat>
+#if defined(BOOST_MATH_TEST_FLOAT128) && (LDBL_MANT_DIG > 100)
+//
+// Mixing __float128 and long double results in:
+// error: __float128 and long double cannot be used in the same expression
+// whenever long double is a [possibly quasi-] quad precision type.
+// 
+#undef BOOST_MATH_TEST_FLOAT128
+#endif
+
 #ifdef BOOST_MATH_TEST_FLOAT128
 #include <boost/cstdfloat.hpp> // For float_64_t, float128_t. Must be first include!
 #endif // #ifdef #ifdef BOOST_MATH_TEST_FLOAT128
@@ -24,7 +35,6 @@
 #include <boost/test/tools/floating_point_comparison.hpp>
 
 #include <boost/array.hpp>
-#include <boost/lexical_cast.hpp>
 #include <boost/type_traits/is_constructible.hpp>
 
 #ifdef BOOST_MATH_TEST_MULTIPRECISION