Reference Complex circular and hyperbolic functions
lzc_hypersecant
The hyperbolic secant of a complex number.
long lzc_hypersecant( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
One over the hyperbolic cosine, each part correctly rounded, in radians.
Examples
| Call | Answer |
|---|---|
lzc_hypersecant( 1 + 1i ) | 0.498337030555186785213805891772169534 − 0.591083841721045048050391692974335072i |
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_hypersecantThe hyperbolic secant, one over the hyperbolic cosine.