Reference Complex inverse functions
lzc_archypertangent
The principal inverse hyperbolic tangent of a complex number.
long lzc_archypertangent( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
The principal value, each part correctly rounded, in radians. On the cut beyond 1 it takes the operand's +0 side: artanh 2 is artanh ½ + (π/2)i. ±1 are poles: kUndefinedResult, the point at infinity.
Examples
| Call | Answer | Returns |
|---|---|---|
lzc_archypertangent( 2 + 0i ) | 0.549306144334054845697622618461262852 + 1.570796326794896619231321691639751442i | kNoError |
lzc_archypertangent( 1 + 0i ) | the point at infinity | 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
lzc_hypertangentThe hyperbolic tangent of a complex number.lz_archypertangentThe number whose hyperbolic tangent is the operand.