FLINT3.7.0-dev

fmpq_get_d

Synopsis#include <flint/fmpq.h>
double fmpq_get_d(const fmpq_t f)source

Returns f as a double, rounded towards zero (by mpq_get_d). The result is system dependent if |f| is outside the range of double.

Cite this page

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