acb_sqrt, acb_sqrt_analytic
Synopsis
#include <flint/acb.h>Set the output to the principal square root, with the branch cut on and (continuous from above). If analytic is set, the result is indeterminate when the input touches the branch cut, including an exact negative real number.
If one part of is exactly zero, a single real square root suffices. In general with , which needs two real square roots; for the roles of the parts are exchanged to avoid cancellation.
Guides#
Cite this page
The FLINT team, “acb_sqrt, acb_sqrt_analytic (acb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb/acb_sqrt.html (generated 2026-11-02).
@misc{flint-doc-acb-acb-sqrt,
author = {{The FLINT team}},
title = {{acb\_sqrt, acb\_sqrt\_analytic (acb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb/acb_sqrt.html},
note = {Generated 2026-11-02}
}