7 #include "cln/rational.h"
13 #include "cln/integer.h"
17 const cl_RA expt_pos (const cl_RA& x, const cl_I& y)
21 // x Ratio a/b -> x^y = (a^y)/(b^y), gekürzt, mit b^y>=b>1.
27 var const cl_I& a = numerator(x);
28 var const cl_I& b = denominator(x);
29 return I_I_to_RT(expt_pos(a,y),expt_pos(b,y));