FLINT3.7.0-dev

gr_generic_pow_other, gr_generic_other_pow

Synopsis#include <flint/gr_generic.h>
int gr_generic_pow_other(gr_ptr res, gr_srcptr x, gr_srcptr y, gr_ctx_t y_ctx, gr_ctx_t ctx)source
int gr_generic_other_pow(gr_ptr res, gr_srcptr x, gr_ctx_t x_ctx, gr_srcptr y, gr_ctx_t ctx)source

Defaults of gr_pow_other and gr_other_pow: an exponent in \mathbb{Z} or \mathbb{Q} is passed to gr_pow_fmpz or gr_pow_fmpq; otherwise the operand is converted with gr_set_other and gr_pow is called.

Cite this page

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