Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / math / complex / asin.hpp
index 1d20795..087c3b5 100644 (file)
@@ -31,12 +31,13 @@ inline std::complex<T> asin(const std::complex<T>& z)
    //
 
    //
-   // These static constants should really be in a maths constants library:
+   // These static constants should really be in a maths constants library,
+   // note that we have tweaked the value of a_crossover as per https://svn.boost.org/trac/boost/ticket/7290:
    //
    static const T one = static_cast<T>(1);
    //static const T two = static_cast<T>(2);
    static const T half = static_cast<T>(0.5L);
-   static const T a_crossover = static_cast<T>(1.5L);
+   static const T a_crossover = static_cast<T>(10);
    static const T b_crossover = static_cast<T>(0.6417L);
    static const T s_pi = boost::math::constants::pi<T>();
    static const T half_pi = s_pi / 2;