Computes base to the power of exponent.
base
exponent
@override Fraction pow(Fraction base, Fraction exponent) => base.pow(exponent.toInt());