flint_mpn_gcd
Synopsis
#include <flint/mpn_extras.h>mp_size_t flint_mpn_gcd(mp_ptr gp, mp_srcptr ap, mp_size_t an, mp_srcptr bp, mp_size_t bn)sourceSets to the greatest common divisor of and and returns its length . The operands must be nonzero with nonzero top limbs (); they are not modified. gp needs room for limbs; it may be equal to ap or bp but must not otherwise overlap them.
Cite this page
The FLINT team, “flint_mpn_gcd (mpn_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpn_extras/flint_mpn_gcd.html (generated 2026-11-02).
@misc{flint-doc-mpn-extras-flint-mpn-gcd,
author = {{The FLINT team}},
title = {{flint\_mpn\_gcd (mpn\_extras.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpn_extras/flint_mpn_gcd.html},
note = {Generated 2026-11-02}
}