FLINT3.7.0-dev

nfloat_sinh, nfloat_cosh, nfloat_sinh_cosh, nfloat_tanh

Synopsis#include <flint/nfloat.h>
int nfloat_sinh(nfloat_ptr res, nfloat_srcptr x, gr_ctx_t ctx)source
int nfloat_cosh(nfloat_ptr res, nfloat_srcptr x, gr_ctx_t ctx)source
int nfloat_sinh_cosh(nfloat_ptr res1, nfloat_ptr res2, nfloat_srcptr x, gr_ctx_t ctx)source
int nfloat_tanh(nfloat_ptr res, nfloat_srcptr x, gr_ctx_t ctx)source

Hyperbolic functions, from E = e^{|x|} and 1/E, with the difference E - 1/E computed in fixed point for |x| < 1.

Cite this page

The FLINT team, “nfloat_sinh, nfloat_cosh, nfloat_sinh_cosh, nfloat_tanh (nfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nfloat/nfloat_sinh.html (generated 2026-10-20).