FLINT3.7.0-dev

arf_sinh, arf_cosh, arf_sinh_cosh, arf_tanh, arf_coth, arf_sech, arf_csch

Synopsis#include <flint/arf.h>
int arf_sinh(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)source
int arf_cosh(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)source
int arf_sinh_cosh(arf_ptr res1, arf_ptr res2, arf_srcptr x, slong prec, arf_rnd_t rnd)source
int arf_tanh(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)source
int arf_coth(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)source
int arf_sech(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)source
int arf_csch(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)source

The hyperbolic functions and their reciprocals. Exact at x=0x = 0 and at ±∞\pm\infty (sinh: ±∞\pm\infty, cosh: +∞+\infty, tanh, coth: ±1\pm 1, sech, csch: 0); the poles of coth and csch at zero give NaN. sinh, cosh, sech and csch give NaN beyond 2max⁡(128,2 prec)2^{\max(128, 2 \, \mathit{prec})}, like exp.

Cite this page

The FLINT team, “arf_sinh, arf_cosh, arf_sinh_cosh, arf_tanh, arf_coth, arf_sech, arf_csch (arf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arf/arf_sinh.html (generated 2026-11-17).