flint_mpn_divisible_1_odd
Synopsis
#include <flint/mpn_extras.h>int flint_mpn_divisible_1_odd(mp_srcptr x, mp_size_t xsize, mp_limb_t d)sourceReturns 1 if (x, \mathit{xsize}) is divisible by the odd limb d \ge 3 and 0 otherwise, using GMP's mpn_modexact_1_odd where available.
Cite this page
The FLINT team, “flint_mpn_divisible_1_odd (mpn_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpn_extras/flint_mpn_divisible_1_odd.html (generated 2026-10-20).
@misc{flint-doc-mpn-extras-flint-mpn-divisible-1-odd,
author = {{The FLINT team}},
title = {{flint\_mpn\_divisible\_1\_odd (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_divisible_1_odd.html},
note = {Generated 2026-10-20}
}