FLINT3.7.0-dev

_mp_real_tan_sc

Synopsis#include <flint/mp_real.h>
void _mp_real_tan_sc(nn_ptr y, ulong * err, nn_srcptr v, slong n)source

Set (y,n+1)(y, n + 1) to tan⁡v\tan v for v∈[0,1)v \in [0, 1) and n≤32n \le 32 from the sine and cosine kernels and one division (64-bit only). With both kernel outputs within EE ulps, err is ⌊19E/4⌋+2\lfloor 19E/4 \rfloor + 2. The tangent kernel uses it up to 22 limbs.

Cite this page

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