FLINT3.7.0-dev

fmpz_set_mpn_large

Synopsis#include <flint/fmpz.h>
void fmpz_set_mpn_large(fmpz_t z, nn_srcptr src, slong n, int negative)source

Sets z to the integer with the n limbs src, negated if negative is

  1. Requires n \ge 2 and src[n-1] nonzero, so that the value does not fit inline; use fmpz_set_ui and fmpz_neg_ui for one limb, or fmpz_set_ui_array in general.
Cite this page

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