gr_fresnel_s, gr_fresnel_c, gr_fresnel
Synopsis
#include <flint/gr_special.h>Set res to the Fresnel integral S(x) = \int_0^x \sin(\pi t^2 / 2) \, dt or C(x) = \int_0^x \cos(\pi t^2 / 2) \, dt if normalized is nonzero, and to the unnormalised integrals \int_0^x \sin(t^2) \, dt and \int_0^x \cos(t^2) \, dt otherwise; gr_fresnel sets res1 to S and res2 to C.
Cite this page
The FLINT team, “gr_fresnel_s, gr_fresnel_c, gr_fresnel (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_fresnel_s.html (generated 2026-10-20).
@misc{flint-doc-gr-special-gr-fresnel-s,
author = {{The FLINT team}},
title = {{gr\_fresnel\_s, gr\_fresnel\_c, gr\_fresnel (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_fresnel_s.html},
note = {Generated 2026-10-20}
}