FLINT3.7.0-dev

n_pow

Synopsis#include <flint/ulong_extras.h>
ulong n_pow(ulong n, ulong exp)source

Returns n^{\mathit{exp}}, with 0^0 = 1. Overflow is not detected.

Cite this page

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