FLINT3.7.0-dev

ca_pi, ca_pi_i

Synopsis#include <flint/ca.h>
void ca_pi(ca_t res, ca_ctx_t ctx)source
void ca_pi_i(ca_t res, ca_ctx_t ctx)source

Sets res to \pi, the generator of the field \mathbb{Q}(\pi), or to \pi i, an element of \mathbb{Q}(\pi, i) (it is not an extension number of its own).

Guides#

Cite this page

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