addaptic

Reference Complex circular and hyperbolic functions

lzc_cosecant

The cosecant of a complex angle.

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

One over the sine, each part correctly rounded, the whole angle in the thread's unit. A pole on the real axis is the point at infinity.

Examples

CallAnswer
lzc_cosecant( 1 + 1i )0.621518017170428421234907805855920148 − 0.303931001628426450334485604509703273i

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