FLINT3.7.0-dev

n_ll_small_preinv

Synopsis#include <flint/ulong_extras.h>
void n_ll_small_preinv(nn_ptr minv, nn_srcptr m)source

Computes the two-limb inverse \lfloor 2^{3 \mathtt{FLINT\_BITS}} / m \rfloor of a two-limb m > B, as needed by n_ll_small_2_powmod and n_ll_small_powmod_triple.

Cite this page

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