addaptic

Reference Complex circular and hyperbolic functions

lzc_hypertangent

The hyperbolic tangent of a complex number.

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

Each part correctly rounded, in radians whatever the thread's unit. On the real axis it answers as lz_hypertangent does, with an exact nought beside it.

Examples

CallAnswer
lzc_hypertangent( 1 + 1i )1.083923327338694543475752061211971721 + 0.271752585319511716528843722498588921i

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