arb_sin, arb_cos, arb_sin_cos
Synopsis
#include <flint/arb.h>The propagated error for a radius r is at most \min(2, r). Balls with a radius larger than about 2^{-24} are handled by arb_sin_cos_wide, which computes a near-optimal enclosure of the range. If the midpoint exceeds 2^{\max(65536, 4\,\mathit{prec})}, the result is [0 \pm 1]: reducing such an argument modulo \pi would take time exponential in the size of the input.
Guides#
Cite this page
The FLINT team, “arb_sin, arb_cos, arb_sin_cos (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/arb_sin.html (generated 2026-10-20).
@misc{flint-doc-arb-arb-sin,
author = {{The FLINT team}},
title = {{arb\_sin, arb\_cos, arb\_sin\_cos (arb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb/arb_sin.html},
note = {Generated 2026-10-20}
}