> 
> **Possible Duplicate:**  
> 
> [How to do a fractional power on BigDecimal in Java?](https://stackoverflow.com/questions/3579779/how-to-do-a-fractional-power-on-bigdecimal-in-java) 
> 
> 
> 

I have a BigInteger A that I need to exponentiate with 1/b (b is an int).

My problem is that A supports only A.pow(int) which is not suitable for my case.

Is there any workaround for this?