Reference Complex inverse functions
lzc_arcsecant
The principal arcsecant of a complex number.
long lzc_arcsecant( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
arccos(1/z), the principal value, each part correctly rounded, the whole angle written in the thread's unit. Between −1 and 1 on the real axis it takes the cut's +0 side: arcsec ½ is i arcosh 2. Nought is a pole: kUndefinedResult, the point at infinity.
Examples
| Call | Answer | Returns |
|---|---|---|
lzc_arcsecant( 0.5 + 0i ) | 0 + 1.316957896924816708625046347307968444i | kNoError |
lzc_arcsecant( 2 + 0i ) degrees | 60 + 0i | kNoError |
lzc_arcsecant( 0 + 0i ) | the point at infinity | kUndefinedResult |
Each answer is what Addaptic printed for the call, in radians, 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_secantThe secant of a complex angle.lzc_arccosineThe principal arccosine of a complex number.lz_arcsecantThe angle whose secant is the number.