acb_csgn
Synopsis
#include <flint/acb.h>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).
@misc{flint-doc-acb-acb-csgn,
author = {{The FLINT team}},
title = {{acb\_csgn (acb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb/acb_csgn.html},
note = {Generated 2026-10-20}
}