I'm a .NET developer, but apparently no library exists to do this in .NET. So, is there any BigInteger implementation in Java that allows raising a BigInteger to a double exponent:
BigInteger result = BigInteger.pow( base, dblExponent);
// Base is a BigInteger, dblExponent is a double.
try this:
but pay attention to precision issues
EDIT: you have to import this library: import static java.lang.Math.pow;