Computes the hyperbolic arccosine of a number.
x
[1,+infinity)
x < 1
NaN
input value
hyperbolic arccosine (in radians)
var v = acosh( 1.0 ); // returns 0.0
var v = acosh( 2.0 ); // returns ~1.317
var v = acosh( NaN ); // returns NaN
Computes the hyperbolic arccosine of a number.
Notes
x
is restricted to[1,+infinity)
. Ifx < 1
, the function will returnNaN
.