FLINT3.7.0-dev

arf_set_mpn

Synopsis#include <flint/arf.h>
void arf_set_mpn(arf_t y, nn_srcptr x, slong xn, int sgnbit)source

Sets y to the integer stored in the xn limbs at x, negated if sgnbit is 1. Requires \mathit{xn} > 0 and x[xn - 1] nonzero.

Cite this page

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