addaptic

Reference Complex inverse functions

lzc_archypersine

The principal inverse hyperbolic sine of a complex number.

long lzc_archypersine( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );

The principal value, each part correctly rounded, in radians. On the imaginary axis beyond ±i it takes the operand's +0 side: arsinh 2i is arcosh 2 + (π/2)i.

Examples

CallAnswer
lzc_archypersine( 0 + 2i )1.316957896924816708625046347307968444 + 1.570796326794896619231321691639751442i
lzc_archypersine( 1 + 1i )1.061275061905035652033018916213573486 + 0.666239432492515255104004895977792721i

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