code: public RoundedMoney pow(int n) {
          return new RoundedMoney(number.pow(n, Optional.ofNullable(
                  monetaryContext.get(MathContext.class)).orElse(MathContext.DECIMAL64)),
                  currency, rounding).with(rounding);
      }
docs: /*
  (non-Javadoc)
  @see javax.money.MonetaryAmount#pow(int)