FLINT3.7.0-dev

acb_csgn

Synopsis#include <flint/acb.h>
void acb_csgn(arb_t res, const acb_t z)source

Sets res to the sign of the real part, extended to the imaginary axis by the sign of the imaginary part: 1 in the right half plane, -1 in the left half plane, \operatorname{sgn}(\operatorname{Im} z) on the imaginary axis, and 0 at z = 0. Equivalently \operatorname{csgn}(z) = z/\sqrt{z^2} for z \ne 0.

Guides#

Cite this page

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