gr_conj, gr_re, gr_im, gr_sgn, gr_csgn, gr_arg
Synopsis
#include <flint/gr.h>Set res to the complex conjugate, the real part, the imaginary part, the sign x / |x| (0 for x = 0), the real-valued sign used for branch cuts (csgn: the sign of \operatorname{Re}(x), or of \operatorname{Im}(x) when the real part is zero), and the argument in (-\pi, \pi].
Cite this page
The FLINT team, “gr_conj, gr_re, gr_im, gr_sgn, gr_csgn, gr_arg (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_conj.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-conj,
author = {{The FLINT team}},
title = {{gr\_conj, gr\_re, gr\_im, gr\_sgn, gr\_csgn, gr\_arg (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_conj.html},
note = {Generated 2026-10-20}
}