gr_erf, gr_erfc, gr_erfcx, gr_erfi
Synopsis
#include <flint/gr_special.h>Set res to the error function \operatorname{erf}(x), the complementary error function \operatorname{erfc}(x) = 1 - \operatorname{erf}(x), the scaled complementary error function \operatorname{erfcx}(x) = e^{x^2} \operatorname{erfc}(x), or the imaginary error function \operatorname{erfi}(x) = -i \operatorname{erf}(ix).
Cite this page
The FLINT team, “gr_erf, gr_erfc, gr_erfcx, gr_erfi (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_erf.html (generated 2026-10-20).
@misc{flint-doc-gr-special-gr-erf,
author = {{The FLINT team}},
title = {{gr\_erf, gr\_erfc, gr\_erfcx, gr\_erfi (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_erf.html},
note = {Generated 2026-10-20}
}