_padic_ctx_pow_ui
Synopsis
#include <flint/padic.h>int _padic_ctx_pow_ui(fmpz_t rop, ulong e, const padic_ctx_t ctx)sourceMakes the uninitialised rop equal to p^e. If p^e is in the table, rop becomes a shallow copy of the table entry, which must be neither modified nor cleared, and the function returns 0. Otherwise it initialises rop, computes the power and returns 1, and the caller must clear rop. Throws if e exceeds WORD_MAX.
Cite this page
The FLINT team, “_padic_ctx_pow_ui (padic.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic/_padic_ctx_pow_ui.html (generated 2026-10-20).
@misc{flint-doc-padic-padic-ctx-pow-ui,
author = {{The FLINT team}},
title = {{\_padic\_ctx\_pow\_ui (padic.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/padic/_padic_ctx_pow_ui.html},
note = {Generated 2026-10-20}
}