_arf_add_mpn
Synopsis
#include <flint/arf.h>int _arf_add_mpn(arf_t z, nn_srcptr xp, slong xn, int xsgnbit, const fmpz_t xexp, nn_srcptr yp, slong yn, int ysgnbit, flint_bitcnt_t shift, slong prec, arf_rnd_t rnd)sourceAdds two mantissas, the second shifted right by shift bits relative to the first, which has exponent xexp, and rounds the result into z. This is the kernel of arf_add.
Cite this page
The FLINT team, “_arf_add_mpn (arf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arf/_arf_add_mpn.html (generated 2026-10-20).
@misc{flint-doc-arf-arf-add-mpn,
author = {{The FLINT team}},
title = {{\_arf\_add\_mpn (arf.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arf/_arf_add_mpn.html},
note = {Generated 2026-10-20}
}