addaptic

Reference Hyperbolic functions

lz_archypersine

The number whose hyperbolic sine is the operand.

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

ln(x + √(x² + 1)), defined for every x, correctly rounded. The inverse hyperbolic functions come from the logarithm and the square root, with a series where those would lose digits.

Examples

CallAnswer
lz_archypersine( 1 )0.881373587019543025232609324979792309
lz_archypersine( −1 )−0.881373587019543025232609324979792309
lz_archypersine( 0.5 )0.481211825059603447497758913424368423

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