addaptic

Reference Complex inverse functions

lzc_arccosecant

The principal arccosecant of a complex number.

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

arcsin(1/z), the principal value, each part correctly rounded, the whole angle written in the thread's unit: arccsc ½ is π/2 − i arcosh 2. Nought is a pole: kUndefinedResult, the point at infinity.

Examples

CallAnswer
lzc_arccosecant( 0.5 + 0i )1.570796326794896619231321691639751442 − 1.316957896924816708625046347307968444i
lzc_arccosecant( 2 + 0i ) degrees30 + 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