_arb_sin_cos_taylor_naive, _arb_sin_cos_taylor_rs
Synopsis
#include <flint/arb.h>void _arb_sin_cos_taylor_naive(nn_ptr ysin, nn_ptr ycos, ulong * error, nn_srcptr x, slong xn, ulong N)sourcevoid _arb_sin_cos_taylor_rs(nn_ptr ysin, nn_ptr ycos, ulong * error, nn_srcptr x, slong xn, ulong N, int sinonly, int alternating)sourceSet ysin and ycos to approximations of and , with xn fractional limbs, and write an error bound in ulps to error. Require , and .
In the rs version, sinonly = 1 computes only the sine, and alternating = 0 computes the series without signs (the hyperbolic sine, intended for use with sinonly, as in the exponential at high precision, where is then obtained from ).
Cite this page
The FLINT team, “_arb_sin_cos_taylor_naive, _arb_sin_cos_taylor_rs (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/_arb_sin_cos_taylor_naive.html (generated 2026-11-02).
@misc{flint-doc-arb-arb-sin-cos-taylor-naive,
author = {{The FLINT team}},
title = {{\_arb\_sin\_cos\_taylor\_naive, \_arb\_sin\_cos\_taylor\_rs (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_cos_taylor_naive.html},
note = {Generated 2026-11-02}
}