arf_sin, arf_cos, arf_sin_cos, arf_tan, arf_cot, arf_sec, arf_csc, arf_sinc
Synopsis
#include <flint/arf.h>int arf_sin(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_cos(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_tan(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_cot(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_sec(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_csc(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_sinc(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceThe trigonometric functions, their reciprocals and (sinc(0) = 1). arf_sin_cos computes the sine and the cosine together (res1 and res2 must be distinct). The results at are exact; infinite arguments, and arguments beyond in absolute value, give NaN (as do the poles of cot and csc at zero).
Cite this page
The FLINT team, “arf_sin, arf_cos, arf_sin_cos, arf_tan, arf_cot, arf_sec, arf_csc, arf_sinc (arf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arf/arf_sin.html (generated 2026-11-17).
@misc{flint-doc-arf-arf-sin,
author = {{The FLINT team}},
title = {{arf\_sin, arf\_cos, arf\_sin\_cos, arf\_tan, arf\_cot, arf\_sec, arf\_csc, arf\_sinc (arf.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arf/arf_sin.html},
note = {Generated 2026-11-17}
}