celeries.mpfrac.smartpower#

celeries.mpfrac.smartpower(a, b)#

Raise a to power b and try to express the result as an integer or a rational number (Fraction) when possible.