FLINT3.7.0-dev

acb_arg

Synopsis#include <flint/acb.h>
void acb_arg(arb_t r, const acb_t z, slong prec)source

Sets r to the argument (phase) of z, \operatorname{atan2}(b, a) for z = a + bi, with values in (-\pi, \pi] and the branch cut on (-\infty, 0]: \arg(0) = 0 and \arg(a) = \pi for a < 0. A rectangle that crosses the negative real axis gives an enclosure of [-\pi, \pi].

Guides#

Cite this page

The FLINT team, “acb_arg (acb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb/acb_arg.html (generated 2026-10-20).