addaptic

Reference Trigonometry

lz_arccosecant

The angle whose cosecant is the number.

long lz_arccosecant( CLZNumber* leftOperand, CLZNumber* targetNumber = nullptr );

arcsin(1/x), in [−π/2, π/2], correctly rounded in the thread's unit; arccsc 2 is exactly 30°. Between −1 and 1 there is no real angle: kFailed, flagged not-a-number.

Examples

CallAnswer
lz_arccosecant( 2 )0.523598775598298873077107230546583814
lz_arccosecant( 2 ) degrees30

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