arb_atan2
Synopsis
#include <flint/arb.h>Sets z to the argument (phase) of the complex number a + bi, in (-\pi, \pi], with the branch cut on (-\infty, 0]. By definition \operatorname{atan2}(0, 0) = 0 and \operatorname{atan2}(0, a) = \pi for a < 0. A ball that straddles the branch cut gives an enclosure of [-\pi, \pi].
Guides#
Cite this page
The FLINT team, “arb_atan2 (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/arb_atan2.html (generated 2026-10-20).
@misc{flint-doc-arb-arb-atan2,
author = {{The FLINT team}},
title = {{arb\_atan2 (arb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb/arb_atan2.html},
note = {Generated 2026-10-20}
}