FLINT3.7.0-dev

arb_sinh, arb_cosh, arb_sinh_cosh

Synopsis#include <flint/arb.h>
void arb_sinh(arb_t z, const arb_t x, slong prec)source
void arb_cosh(arb_t z, const arb_t x, slong prec)source
void arb_sinh_cosh(arb_t s, arb_t c, const arb_t x, slong prec)source

Set s to \sinh x and c to \cosh x. Near 0, \sinh x is computed as (e^{2x} - 1)/(2e^x) via arb_expm1 to avoid cancellation; otherwise (e^x \pm e^{-x})/2 is used.

Guides#

Cite this page

The FLINT team, “arb_sinh, arb_cosh, arb_sinh_cosh (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/arb_sinh.html (generated 2026-10-20).