acosh

Calculates the inverse hyperbolic cosine of x Exceptions:

InvalidOperationExceptionx is signaling NaN or x < 1.0
InexactExceptionthe result is inexact
More...
@IEEECompliant("acosh", 43)
D
acosh
(
D
)
(
auto const ref D x
)

Detailed Description

Special values

xacosh(x)
NaNNaN
+1.0+0.0
+∞+∞
< 1.0NaN

Examples

decimal32 x = 1;
assert (acosh(x) == 0);

Meta