FLINT3.7.0-dev

gr_ctx_init_real_arb, gr_ctx_init_complex_acb

Synopsis#include <flint/gr.h>
void gr_ctx_init_real_arb(gr_ctx_t ctx, slong prec)source
void gr_ctx_init_complex_acb(gr_ctx_t ctx, slong prec)source

Initialise ctx to the field of real or complex numbers represented by balls of type arb_struct and acb_struct, computing with a working precision of prec bits. The precision can be changed with gr_ctx_set_real_prec. Every result is an enclosure of the exact result; predicates return T_UNKNOWN when the balls do not decide them.

Guides#

Cite this page

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