Reference Complex inverse functions
lzc_arcsine
The principal arcsine of a complex number.
long lzc_arcsine( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
The principal value, each part correctly rounded, the whole angle written in the thread's unit. On the real axis inside [−1, 1] it answers as lz_arcsine does, with an exact nought beside it. Beyond, on the cut, it takes the operand's +0 side, as std::complex answers: arcsin 2 is π/2 + i arcosh 2, and in degrees its real part is exactly 90. In degrees arcsin(1 + 1.5i) has a real part of exactly 30.
Examples
| Call | Answer |
|---|---|
lzc_arcsine( 2 + 0i ) | 1.570796326794896619231321691639751442 + 1.316957896924816708625046347307968444i |
lzc_arcsine( 2 + 0i ) degrees | 90 + 75.456129290216892004100125807761194800i |
lzc_arcsine( 1 + 1.5i ) degrees | 30 + 75.456129290216892004100125807761194800i |
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_sineThe sine of a complex angle.lzc_arccosineThe principal arccosine of a complex number.lz_arcsineThe angle whose sine is the number.