fmpz_get_mpn
Synopsis
#include <flint/fmpz.h>Allocates an array with flint_malloc, stores the limbs of |n_{in}| in it, sets *n to it and returns the number of limbs (at least 1). The caller frees the array with flint_free. For n_{in} = 0 the array has one limb, which is 0.
Cite this page
The FLINT team, “fmpz_get_mpn (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/fmpz_get_mpn.html (generated 2026-10-20).
@misc{flint-doc-fmpz-fmpz-get-mpn,
author = {{The FLINT team}},
title = {{fmpz\_get\_mpn (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_mpn.html},
note = {Generated 2026-10-20}
}