d1_sin, d2_sin, d3_sin, d4_sin, d1_cos, d2_cos, d3_cos, d4_cos, d1_sin_cos, d2_sin_cos, d3_sin_cos, d4_sin_cos
Synopsis
#include <flint/dfloat.h>The sine and cosine, with the bounds DFLOAT_TRIG_EPS_N. dN_sin_cos computes both from one argument reduction, at about 10% more than one of them, with results identical to those of dN_sin and dN_cos. Arguments beyond 2^{20}\pi/2 - 1 in absolute value are evaluated through arb_t with the same guarantee; nonfinite arguments give NaN.
Cite this page
The FLINT team, “d1_sin, d2_sin, d3_sin, d4_sin, d1_cos, d2_cos, d3_cos, d4_cos, d1_sin_cos, d2_sin_cos, d3_sin_cos, d4_sin_cos (dfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dfloat/d1_sin.html (generated 2026-10-20).
@misc{flint-doc-dfloat-d1-sin,
author = {{The FLINT team}},
title = {{d1\_sin, d2\_sin, d3\_sin, d4\_sin, d1\_cos, d2\_cos, d3\_cos, d4\_cos, d1\_sin\_cos, d2\_sin\_cos, d3\_sin\_cos, d4\_sin\_cos (dfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/dfloat/d1_sin.html},
note = {Generated 2026-10-20}
}