pow method

Fixed pow(
  1. int exponent
)

Returns this ^ exponent

The returned value has the same scale as this.

Implementation

Fixed pow(int exponent) {
  return Fixed.fromBigInt(minorUnits.pow(exponent), scale: scale);
}