FLINT3.7.0-dev

acb_root_ui

Synopsis#include <flint/acb.h>
void acb_root_ui(acb_t y, const acb_t x, ulong k, slong prec)source

Sets y to the principal k-th root \exp(\log(x)/k), using square roots for k = 2 and k = 4 and arb_root_ui for nonnegative real input. For k = 0 the result is indeterminate.

Cite this page

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