<p>Here is an implementation of common mathematical functions for BigDecimal <a href="http://arxiv.org/abs/0908.3030v2" rel="nofollow">http://arxiv.org/abs/0908.3030v2</a>.</p>

<p>It contains implementation of pow which supports what you need.</p>
Maintaining Excel precision while performing computations in Java
<p>How can you maintain Excel level precision while performing computations in Java. In most cases using BigDecimal would solve the issue but what about when using BigDecimals in complex calculations.</p>

<p>For example, the formula for present value being:</p>

<p>PV = P / (1 + r)^n</p>

<p>now if each of these components are BigDecimal values, BigDecimal does not provide a mechanism to raise a BigDecimal to a fraction power.</p>

<p>Thanks in advance.</p>