Java Utililty Methods atanh

List of utility methods to do atanh

Description

The list of methods to do atanh are organized into topic(s).

Method

doubleatanh(double a)
Calculates inverse hyperbolic tangent of a double value.
final double mult;
if (Double.doubleToRawLongBits(a) < 0) {
    a = Math.abs(a);
    mult = -0.5d;
} else {
    mult = 0.5d;
return mult * Math.log((1.0d + a) / (1.0d - a));
...
doubleatanh(double x)
Returns the inverse (arc) hyperbolic tangent of a double.
double y = Math.abs(x);
double ans;
if (Double.isNaN(x)) {
    ans = Double.NaN;
} else if (y < 1.82501e-08) {
    ans = x;
} else if (y <= 0.5) {
    ans = x * (1.0 + csevl(8.0 * x * x - 1.0, ATANH_COEF));
...
doubleatanh(double z)
atanh
return (StrictMath.log((1.0 + z) * StrictMath.sqrt(1.0 / (1.0 - z * z))));