acb_printn, acb_fprintn
Synopsis
#include <flint/acb.h>Print x as a + b*I with the real and imaginary parts in the decimal ball format of arb_get_str (omitting a zero part), to standard output or to fp. The printed rectangle contains x, and the flags of arb_get_str apply to both parts. This is the recommended way to print a complex number.
Guides#
- Branch cuts
- Getting started with acb
- Using acb_hypgeom (
acb_hypgeom) - Taylor series of complex functions (
acb_poly)
Cite this page
The FLINT team, “acb_printn, acb_fprintn (acb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb/acb_printn.html (generated 2026-10-20).
@misc{flint-doc-acb-acb-printn,
author = {{The FLINT team}},
title = {{acb\_printn, acb\_fprintn (acb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb/acb_printn.html},
note = {Generated 2026-10-20}
}