FLINT3.7.0-dev

fmpz_get_d

Synopsis#include <flint/fmpz.h>
double fmpz_get_d(const fmpz_t f)source

Returns f as a double, rounded towards zero if it is not exactly representable. The result is undefined if |f| exceeds the range of double; use fmpz_get_d_2exp for large values.

Guides#

Cite this page

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