FLINT3.7.0-dev

fmpq

Synopsis#include <flint/fmpq.h>
fmpq

A rational number: a struct with two fmpz fields num (numerator) and den (denominator). The type is defined in flint.h.

Guides#

Cite this page

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