Reference Complex inverse functions
lzc_archypercosine
The principal inverse hyperbolic cosine of a complex number.
long lzc_archypercosine( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
The principal value, each part correctly rounded, in radians. Below 1 on the real axis it is complex: arcosh ½ is (π/3)i, and arcosh −2 is arcosh 2 + πi.
Examples
| Call | Answer |
|---|---|
lzc_archypercosine( 0.5 + 0i ) | 0 + 1.047197551196597746154214461093167628i |
lzc_archypercosine( −2 + 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_hypercosineThe hyperbolic cosine of a complex number.lz_archypercosineThe number at or above nought whose hyperbolic cosine is the operand.