Reference Hyperbolic functions
lz_hypersine
The hyperbolic sine.
long lz_hypersine( CLZNumber* leftOperand, CLZNumber* targetNumber = nullptr );
(ex − e−x) ÷ 2, from a single ex, correctly rounded. The hyperbolic functions take no angle unit. A small answer keeps its significant digits, as the third example shows.
Examples
| Call | Answer |
|---|---|
lz_hypersine( 1 ) | 1.175201193643801456882381850595600815 |
lz_hypersine( −1 ) | −1.175201193643801456882381850595600815 |
lz_hypersine( 1E−20 ) | 0.0000000000000000000100000000000000000000000000000000000 |
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_hypercosineThe hyperbolic cosine.lz_hypersine_hypercosineThe hyperbolic sine and cosine of one number together, from one exponential.lz_archypersineThe number whose hyperbolic sine is the operand.lzc_hypersineThe hyperbolic sine of a complex number.