FLINT3.7.0-dev

mag_root

Synopsis#include <flint/mag.h>
void mag_root(mag_t res, const mag_t x, ulong n)source

Sets res to an upper bound for x^{1/n}. For n = 0 the result is +\infty.

Cite this page

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