Reference Hyperbolic functions
lz_archypercosine
The number at or above nought whose hyperbolic cosine is the operand.
long lz_archypercosine( CLZNumber* leftOperand, CLZNumber* targetNumber = nullptr );
ln(x + √(x² − 1)), at or above nought, for x at least one; arcosh 1 is nought. Below one there is no real answer: kFailed, flagged not-a-number. lzc_archypercosine gives the complex one.
Examples
| Call | Answer | Returns |
|---|---|---|
lz_archypercosine( 2 ) | 1.316957896924816708625046347307968444 | kNoError |
lz_archypercosine( 1 ) | 0 | kNoError |
lz_archypercosine( 0.5 ) | not a number | kFailed |
Each answer is what Addaptic printed for the call, at 36 places unless a setting is shown.
Returns
kNoError (0) when the answer is written. Otherwise an error code, with the answer flagged infinite or not-a-number; see Errors and flags.
See also
lz_hypercosineThe hyperbolic cosine.lzc_archypercosineThe principal inverse hyperbolic cosine of a complex number.