addaptic

Reference Hyperbolic functions

lz_hypercosecant

The hyperbolic cosecant, one over the hyperbolic sine.

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

One over sinh x, correctly rounded. At nought it has a pole: kDivideByZero, flagged infinite.

Examples

CallAnswerReturns
lz_hypercosecant( 1 )0.850918128239321545133842763287175284kNoError
lz_hypercosecant( 0 )infinitekDivideByZero

Each answer is what Addaptic printed for the call, 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