FLINT3.7.0-dev

flint_mpn_add_inplace_c

Synopsis#include <flint/fft_small.h>
unsigned char flint_mpn_add_inplace_c(ulong * z, ulong zn, ulong * a, ulong an, unsigned char cf)source

Adds (a, a_n) and the carry cf to (z, z_n) in place, propagating the carry through at most z_n limbs, and returns the carry out. Requires z_n \ge a_n \ge 1.

Cite this page

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