FLINT3.7.0-dev

ca_re, ca_im

Synopsis#include <flint/ca.h>
void ca_re(ca_t res, const ca_t x, ca_ctx_t ctx)source
void ca_im(ca_t res, const ca_t x, ca_ctx_t ctx)source

Sets res to the real or imaginary part of x. Every infinity gives Undefined, including real and imaginary infinities.

Cite this page

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