Java Utililty Methods acosh

List of utility methods to do acosh

Description

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

Method

doubleacosh(double a)
Calculates inverse hyperbolic cosine of a double value.
return Math.log(Math.sqrt(a * a - 1.0d) + a);
doubleacosh(double x)
acosh
return Math.log(x + Math.sqrt(x * x - 1));
doubleacosh(double x)
Returns the inverse (arc) hyperbolic cosine of a double.
double ans;
if (Double.isNaN(x) || x < 1) {
    ans = Double.NaN;
} else if (x < 94906265.62) {
    ans = Math.log(x + Math.sqrt(x * x - 1.0));
} else {
    ans = 0.69314718055994530941723212145818 + Math.log(x);
return ans;
doubleacosh(double x)
Return the inverse (arc) hyperbolic cosine of a double.
double ans;
if (Double.isNaN(x) || (x < 1)) {
    ans = Double.NaN;
else if (x < 94906265.62) {
    ans = safeLog(x + Math.sqrt(x * x - 1.0D));
} else {
    ans = 0.69314718055994530941723212145818D + safeLog(x);
...
doubleacosh(double x)
Returns the arc hyperbolic cosine of a value.
return Math.log(x + Math.sqrt(x * x - 1.0));