addaptic

Reference Complex circular and hyperbolic functions

lzc_hypersine

The hyperbolic sine of a complex number.

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

sinh a cos b + i cosh a sin b, each part correctly rounded, in radians whatever the thread's unit; sinh i is i sin 1. On the real axis it answers as lz_hypersine does, with an exact nought beside it. An answer past the answer limit is refused, kTooLarge.

Examples

CallAnswer
lzc_hypersine( 1 + 1i )0.634963914784736108255082202991509782 + 1.298457581415977294826042365807815620i
lzc_hypersine( 0 + 1i )0 + 0.841470984807896506652502321630299000i

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