FLINT3.7.0-dev

qqbar_fmpq_pow_si_ui

Synopsis#include <flint/qqbar.h>
void qqbar_fmpq_pow_si_ui(qqbar_t res, const fmpq_t x, slong m, ulong n)source

Sets res to the principal branch of x^{m/n} for a rational x and n \ge 1. Throws an exception if x = 0 and m < 0.

Cite this page

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