Reference Hyperbolic functions
lz_hypercotangent
The hyperbolic cotangent, one over the hyperbolic tangent.
long lz_hypercotangent( CLZNumber* leftOperand, CLZNumber* targetNumber = nullptr );
cosh x ÷ sinh x, correctly rounded. At nought it has a pole: kDivideByZero, flagged infinite.
Examples
| Call | Answer | Returns |
|---|---|---|
lz_hypercotangent( 1 ) | 1.313035285499331303636161246930847833 | kNoError |
lz_hypercotangent( 0 ) | infinite | kDivideByZero |
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
lz_hypertangentThe hyperbolic tangent.lz_archypercotangentThe number whose hyperbolic cotangent is the operand.lzc_hypercotangentThe hyperbolic cotangent of a complex number.