FLINT3.7.0-dev

acf_exp, acf_exp_pi_i, acf_log, acf_sin, acf_cos, acf_sin_cos, acf_sin_pi, acf_cos_pi, acf_sin_cos_pi, acf_sinh, acf_cosh, acf_sinh_cosh

Synopsis#include <flint/acf.h>
int acf_exp(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_exp_pi_i(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_log(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_sin(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_cos(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_sin_cos(acf_t res1, acf_t res2, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_sin_pi(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_cos_pi(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_sin_cos_pi(acf_t res1, acf_t res2, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_sinh(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_cosh(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_sinh_cosh(acf_t res1, acf_t res2, const acf_t x, slong prec, arf_rnd_t rnd)source

Set res (or the pair res1, res2) to the exponential, eπixe^{\pi i x}, the principal logarithm, the sine and cosine (of xx and of πx\pi x) and the hyperbolic sine and cosine of x. A nan or infinite part gives nan parts, as do the arguments beyond the ranges of the real functions (the exponential beyond 2max⁡(128,2prec)2^{\max(128, 2 \mathit{prec})} in the real part, the trigonometric functions beyond 2max⁡(65536,4prec)2^{\max(65536, 4 \mathit{prec})}); log(0) is −∞-\infty. Real and purely imaginary arguments are computed by the real functions (with log⁡(−x)=log⁡x+πi\log(-x) = \log x + \pi i, log⁡(ix)=log⁡∣x∣±πi/2\log(ix) = \log|x| \pm \pi i/2).

Cite this page

The FLINT team, “acf_exp, acf_exp_pi_i, acf_log, acf_sin, acf_cos, acf_sin_cos, acf_sin_pi, acf_cos_pi, acf_sin_cos_pi, acf_sinh, acf_cosh, acf_sinh_cosh (acf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acf/acf_exp.html (generated 2026-11-17).