fmpz_xgcd_partial
Synopsis
#include <flint/fmpz.h>Runs the extended Euclidean algorithm on until the remainder drops to at most , with Lehmer's acceleration. On return and are the last two remainders and co2, co1 the corresponding cofactors, with co2 co1. No aliasing is allowed.
Cite this page
The FLINT team, “fmpz_xgcd_partial (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/fmpz_xgcd_partial.html (generated 2026-11-02).
@misc{flint-doc-fmpz-fmpz-xgcd-partial,
author = {{The FLINT team}},
title = {{fmpz\_xgcd\_partial (fmpz.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz/fmpz_xgcd_partial.html},
note = {Generated 2026-11-02}
}