_mp_real_sin_cos_pi_ui_div_ui_algebraic, _mp_real_tan_pi_ui_div_ui_algebraic, _mp_real_tan_pi_ui_div_ui
#include <flint/mp_real.h>The first two return whether the tuned dispatch of _mp_real_sin_cos_pi_ui_div_ui resp. that of the tangent evaluates the denominator (in lowest terms) at limbs by an algebraic method (closed forms, square roots, half angles, the Chebyshev iteration), which is then faster than the kernel on ; the functions of at dyadic and the functions of in arb use them to choose. _mp_real_tan_pi_ui_div_ui sets to for at fraction limbs and returns the error bound in ulps (UWORD_MAX if none fits).
The FLINT team, “_mp_real_sin_cos_pi_ui_div_ui_algebraic, _mp_real_tan_pi_ui_div_ui_algebraic, _mp_real_tan_pi_ui_div_ui (mp_real.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mp_real/_mp_real_sin_cos_pi_ui_div_ui_algebraic.html (generated 2026-11-17).
@misc{flint-doc-mp-real-mp-real-sin-cos-pi-ui-div-ui-algebraic,
author = {{The FLINT team}},
title = {{\_mp\_real\_sin\_cos\_pi\_ui\_div\_ui\_algebraic, \_mp\_real\_tan\_pi\_ui\_div\_ui\_algebraic, \_mp\_real\_tan\_pi\_ui\_div\_ui (mp\_real.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mp_real/_mp_real_sin_cos_pi_ui_div_ui_algebraic.html},
note = {Generated 2026-11-17}
}