FLINT3.7.0-dev

flint_mpn_signed_sub_n

Synopsis#include <flint/mpn_extras.h>
int flint_mpn_signed_sub_n(mp_ptr res, mp_srcptr x, mp_srcptr y, mp_size_t n)source

Sets (\mathit{res}, n) to |x - y| and returns 0 if x \ge y and 1 if x < y. The output may alias either input.

Cite this page

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