FLINT3.7.0-dev

arb_sin_cos_arf_generic

Synopsis#include <flint/arb.h>
void arb_sin_cos_arf_generic(arb_t res_sin, arb_t res_cos, const arf_t x, slong prec)source

Computes \sin x and \cos x without tables. If |x| is not certainly below \pi/2, the argument is reduced to the first octant using an enclosure of \pi and the function is called recursively; otherwise arb_sin_cos_arf_rs_generic or arb_sin_cos_arf_bb is used depending on the precision. Either output may be NULL.

Cite this page

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