n_ll_factor_rho
Synopsis
#include <flint/ulong_extras.h>max_iters bounds Brent's outer doubling parameter, so each attempt performs about 2\,\mathit{max\_iters} iterations and reaches factors up to roughly (2\,\mathit{max\_iters})^2. The inner loop uses two-limb Montgomery arithmetic and is several times faster than fmpz_factor_pollard_brent at this size.
Cite this page
The FLINT team, “n_ll_factor_rho (ulong_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ulong_extras/n_ll_factor_rho.html (generated 2026-10-20).
@misc{flint-doc-ulong-extras-n-ll-factor-rho,
author = {{The FLINT team}},
title = {{n\_ll\_factor\_rho (ulong\_extras.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ulong_extras/n_ll_factor_rho.html},
note = {Generated 2026-10-20}
}