FLINT3.7.0-dev

arb_atan2

Synopsis#include <flint/arb.h>
void arb_atan2(arb_t z, const arb_t b, const arb_t a, slong prec)source

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).