FLINT3.7.0-dev

gr_ctx_init_mpf

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

Initialises ctx to the GMP floating-point numbers mpf_t with precision prec bits. Only basic arithmetic, comparisons and a few conversions are implemented; this context exists mainly for comparison with the mpf-based algorithms of fmpz_lll.

Cite this page

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