Reference Complex inverse functions
lzc_archypersecant
The principal inverse hyperbolic secant of a complex number.
long lzc_archypersecant( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
arcosh(1/z), the principal value, each part correctly rounded, in radians: arsech 2 is −(π/3)i, and arsech(−½) is arcosh 2 − πi. Nought is a pole.
Examples
| Call | Answer |
|---|---|
lzc_archypersecant( 2 + 0i ) | 0 − 1.047197551196597746154214461093167628i |
lzc_archypersecant( −0.5 + 0i ) | 1.316957896924816708625046347307968444 − 3.141592653589793238462643383279502884i |
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
lzc_hypersecantThe hyperbolic secant of a complex number.lz_archypersecantThe number at or above nought whose hyperbolic secant is the operand.