fmpz_get_d
Synopsis
#include <flint/fmpz.h>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).
@misc{flint-doc-fmpz-fmpz-get-d,
author = {{The FLINT team}},
title = {{fmpz\_get\_d (fmpz.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz/fmpz_get_d.html},
note = {Generated 2026-10-20}
}