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)sourceint nfloat_cosh(nfloat_ptr res, nfloat_srcptr x, gr_ctx_t ctx)sourceint nfloat_sinh_cosh(nfloat_ptr res1, nfloat_ptr res2, nfloat_srcptr x, gr_ctx_t ctx)sourceint nfloat_tanh(nfloat_ptr res, nfloat_srcptr x, gr_ctx_t ctx)sourceHyperbolic 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).
@misc{flint-doc-nfloat-nfloat-sinh,
author = {{The FLINT team}},
title = {{nfloat\_sinh, nfloat\_cosh, nfloat\_sinh\_cosh, nfloat\_tanh (nfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nfloat/nfloat_sinh.html},
note = {Generated 2026-10-20}
}