FLINT3.7.0-dev

_ca_make_fmpq

Synopsis#include <flint/ca.h>
void _ca_make_fmpq(ca_t x, ca_ctx_t ctx)source

Changes the internal representation of x to that of an element of \mathbb{Q}. The value of x is destroyed unless it already is one.

Cite this page

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