Reference Hyperbolic functions
lz_archypersecant
The number at or above nought whose hyperbolic secant is the operand.
long lz_archypersecant( CLZNumber* leftOperand, CLZNumber* targetNumber = nullptr );
arcosh(1/x), at or above nought, for x above nought and at most one; arsech 1 is nought. At nought it has a pole: kUndefinedResult, flagged infinite. Beyond one there is no real answer: kFailed, flagged not-a-number.
Examples
| Call | Answer | Returns |
|---|---|---|
lz_archypersecant( 0.5 ) | 1.316957896924816708625046347307968444 | kNoError |
lz_archypersecant( 1 ) | 0 | kNoError |
lz_archypersecant( 2 ) | not a number | kFailed |
lz_archypersecant( 0 ) | infinite | kUndefinedResult |
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_hypersecantThe hyperbolic secant, one over the hyperbolic cosine.lzc_archypersecantThe principal inverse hyperbolic secant of a complex number.