FLINT3.7.0-dev

nfloat_complex_ctx_init

Synopsis#include <flint/nfloat.h>
int nfloat_complex_ctx_init(gr_ctx_t ctx, slong prec, int flags)source

Initialises ctx to the ring of complex numbers whose parts have precision prec bits rounded up to a whole number of words, with the flags of nfloat_ctx_init. Returns GR_UNABLE if the precision is out of range.

Guides#

Cite this page

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