|
inlineconstexpr |
Parameters
x
: floating value.c
: Conditional expression masking the operation.m
: Logical value masking the operation.Return value
x>1
, the inverse hyperbolic cosine is semantically equivalent to \(\log(x+\sqrt{x^2-1})\). In particular:x
is less than \(1\) or Nan
, NaN
is returned.x
is \(1\), \(+0\) is returned.x
is \(+\infty\), \(+\infty\) is returned.x
is a Nan
, NaN
is returned.