FLINT3.7.0-dev

nfloat_pi

Synopsis#include <flint/nfloat.h>
int nfloat_pi(nfloat_ptr res, gr_ctx_t ctx)source

Sets res to \pi rounded to the precision of the context.

Cite this page

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