code: public Decimal pow(int n) {
          if (this == NaN) {
              return NaN;
          }
          return new Decimal(delegate.pow(n, MATH_CONTEXT));
      }
docs: Returns a {@code Decimal} whose value is <tt>(this<sup>n</sup>)</tt>.
  @param n power to raise this {@code Decimal} to.
  @return <tt>this<sup>n</sup></tt>
  @see BigDecimal#pow(int, java.math.MathContext)