FLINT3.7.0-dev

_mp_real_series_tapered

Synopsis#include <flint/mp_real.h>
void _mp_real_series_tapered(nn_ptr res, nn_srcptr x, slong n, flint_bitcnt_t r, int func)source

Set (res,n)(\mathit{res}, n) to tan⁡x\tan x, atan⁡x\operatorname{atan} x, atanh⁡x\operatorname{atanh} x, sin⁡x\sin x or 1−cos⁡x1 - \cos x (selected by func) for 0≤x<2−r0 \le x < 2^{-r}, within 6 ulps, by Horner's rule in x2x^2 over tapered widths with static coefficient tables. The supported ranges are n≤80n \le 80, r≥32r \ge 32 for the tangent, n≤13n \le 13, r≥10r \ge 10 for atan and atanh, and n≤16n \le 16, r≥18r \ge 18 for the sine and cosine.

Guides#

Cite this page

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