what is the prober method to convert big.int from gmp to big.int from "math/big"
msh2050 opened this issue · comments
msh2050 commented
I get Cannot use 'nouse.FastDoubling(n)' (type *"github.com/ncw/gmp".Int) as the type *"math/big".Int
this will happen if you want to import from another package...
msh2050 commented
after some tests
I think the fastest method is to use :
bigmath := new(big.Int)
bigmath = bigmath.SetBytes(gmp.Bytes())