gr_transformed_mpn_get_fmpz_destructive
Synopsis
#include <flint/gr.h>Converts x into f, consuming it. The width the reconstruction needs is taken from the element and f is grown to match, so the conversion writes straight into the limbs of f, with neither staging nor a copy. A nonzero lo_limbs selects the truncated conversion, with the error described for gr_transformed_mpn_get_trunc. This is the conversion to use whenever the destination is an fmpz.
Cite this page
The FLINT team, “gr_transformed_mpn_get_fmpz_destructive (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_transformed_mpn_get_fmpz_destructive.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-transformed-mpn-get-fmpz-destructive,
author = {{The FLINT team}},
title = {{gr\_transformed\_mpn\_get\_fmpz\_destructive (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_transformed_mpn_get_fmpz_destructive.html},
note = {Generated 2026-10-20}
}