summaryrefslogtreecommitdiff
path: root/boost/math/complex/asin.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/complex/asin.hpp')
-rw-r--r--boost/math/complex/asin.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/math/complex/asin.hpp b/boost/math/complex/asin.hpp
index 1d20795217..087c3b51ef 100644
--- a/boost/math/complex/asin.hpp
+++ b/boost/math/complex/asin.hpp
@@ -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;