FLINT3.7.0-dev

acb_tan, acb_cot

Synopsis#include <flint/acb.h>
void acb_tan(acb_t r, const acb_t z, slong prec)source
void acb_cot(acb_t r, const acb_t z, slong prec)source

Set r to tan⁡z\tan z, respectively cot⁡z\cot z. For large ∣Im⁡z∣|\operatorname{Im} z| they are evaluated stably as ±i\pm i plus an exponentially small correction.

Cite this page

The FLINT team, “acb_tan, acb_cot (acb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb/acb_tan.html (generated 2026-11-02).