Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / math / test / test_ellint_1.hpp
index 0e94b32..459e742 100644 (file)
@@ -12,7 +12,7 @@
 #include <boost/math/concepts/real_concept.hpp>
 #define BOOST_TEST_MAIN
 #include <boost/test/unit_test.hpp>
-#include <boost/test/floating_point_comparison.hpp>
+#include <boost/test/tools/floating_point_comparison.hpp>
 #include <boost/math/special_functions/math_fwd.hpp>
 #include <boost/array.hpp>
 #include "functor.hpp"
@@ -105,9 +105,9 @@ void test_spots(T, const char* type_name)
         {{ SC_(-6.0), SC_(0.5), SC_(-6.4588766202317746302999080620490579800463614807916) }},
         {{ SC_(-10.0), SC_(0.5), SC_(-10.697409951222544858346795279378531495869386960090) }},
         // Some values where k is > 1:
-        {{ static_cast<typename table_type<T>::type>(2)/13, static_cast<typename table_type<T>::type>(15)/13, SC_(0.154661869446904722070471580919758948531148566762183486996920)}},
-        {{ static_cast<typename table_type<T>::type>(2)/13, static_cast<typename table_type<T>::type>(19)/13, SC_(0.155166467455029577314314021156113481657713115640002027219)}},
-        {{ static_cast<typename table_type<T>::type>(2)/13, static_cast<typename table_type<T>::type>(32)/13, SC_(0.15776272074094290829870142225970052217542486917945444918)}},
+        {{ SC_(0.1538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538), SC_(1.1538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538), SC_(0.154661869446904722070471580919758948531148566762183486996920)}},
+        {{ SC_(0.1538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538), SC_(1.461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461), SC_(0.155166467455029577314314021156113481657713115640002027219)}},
+        {{ SC_(0.1538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538), SC_(2.461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461538461), SC_(0.15776272074094290829870142225970052217542486917945444918)}},
     }};
 
     do_test_ellint_f<T>(data1, type_name, "Elliptic Integral F: Mathworld Data");