In my use case, I would like to know how the following Java code will be implemented in Go
BigInteger base = new BigInteger("16");
int exponent = 1;
BigInteger a = base.pow(exponent);
I can import the package math/bigand create large integers, but could not execute the function Pow()in Go. Also, I did not find the function in the document <.
Should I implement my own version Pow()for bigint? Can someone help me with this?
source
share