Reference Complex inverse functions
lzc_arccosine
The principal arccosine of a complex number.
long lzc_arccosine( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
The principal value, each part correctly rounded, the whole angle written in the thread's unit. On the cut beyond 1 it takes the +0 side: arccos 2 is −i arcosh 2. On the real axis inside [−1, 1] it answers as lz_arccosine does, with an exact nought beside it.
Examples
| Call | Answer |
|---|---|
lzc_arccosine( 2 + 0i ) | 0 − 1.316957896924816708625046347307968444i |
lzc_arccosine( 0.5 + 0i ) degrees | 60 + 0i |
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_cosineThe cosine of a complex angle.lzc_arcsineThe principal arcsine of a complex number.lz_arccosineThe angle whose cosine is the number.