For instance:
public static void main(String[] args)
{
BigInteger myBigInt = new BigInteger("4");
BigInteger resultBigInt = myBigInt.pow(29);
double resultDbl = resultBigInt.doubleValue();
System.out.println("BigInteger Result: " + resultBigInt.toString());
System.out.println("Double Result:" + String.valueOf(resultDbl));
}