FLINT3.7.0-dev

_padic_inv

Synopsis#include <flint/padic.h>
void _padic_inv(fmpz_t rop, const fmpz_t op, const fmpz_t p, slong N)source

Sets rop to the inverse of the p-adic unit op modulo p^N, for N \ge 1. The result is in [0, p^N). Allows aliasing.

Cite this page

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