2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-26 04:42:22 +00:00

Disabled long double: fix atanh calls in ellint_3.hpp.

This commit is contained in:
jzmaddock
2020-07-20 09:27:54 +01:00
parent b90b3cd51e
commit 2de2aeb7de

View File

@@ -212,7 +212,7 @@ T ellint_pi_imp(T v, T phi, T k, T vc, const Policy& pol)
if(k == 1)
{
// See http://functions.wolfram.com/08.06.03.0013.01
result = sqrt(v) * atanh(sqrt(v) * sin(phi)) - log(1 / cos(phi) + tan(phi));
result = sqrt(v) * atanh(sqrt(v) * sin(phi), pol) - log(1 / cos(phi) + tan(phi));
result /= v - 1;
return result;
}