gr_sin, gr_cos, gr_sin_cos, gr_tan, gr_cot, gr_sec, gr_csc
Synopsis
#include <flint/gr_special.h>Set res to \sin x, \cos x, both at once (gr_sin_cos sets res1 to the sine and res2 to the cosine), \tan x, \cot x, \sec x = 1/\cos x or \csc x = 1/\sin x. Poles give GR_DOMAIN.
Cite this page
The FLINT team, “gr_sin, gr_cos, gr_sin_cos, gr_tan, gr_cot, gr_sec, gr_csc (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_sin.html (generated 2026-10-20).
@misc{flint-doc-gr-special-gr-sin,
author = {{The FLINT team}},
title = {{gr\_sin, gr\_cos, gr\_sin\_cos, gr\_tan, gr\_cot, gr\_sec, gr\_csc (gr\_special.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_special/gr_sin.html},
note = {Generated 2026-10-20}
}