qqbar_pow
Synopsis
#include <flint/qqbar.h>General exponentiation: if is an algebraic number, sets res to it and returns 1; if is transcendental or undefined, returns 0. By the Gelfond–Schneider theorem, for algebraic and irrational algebraic is transcendental, so the result is algebraic only if is rational, or . Unlike the other functions, this one returns 0 instead of throwing for with , .
Guides#
Cite this page
The FLINT team, “qqbar_pow (qqbar.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/qqbar/qqbar_pow.html (generated 2026-11-02).
@misc{flint-doc-qqbar-qqbar-pow,
author = {{The FLINT team}},
title = {{qqbar\_pow (qqbar.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/qqbar/qqbar_pow.html},
note = {Generated 2026-11-02}
}