package main

import (

"fmt"

"math/big"

)

func main() {

x := big.Exp(2, 10)

fmt.Println(x)

}

I get the error "undefined: big.Exp". Using just the "math" package, I

would use x := math.Pow(2, 10).

Thanks

--

You received this message because you are subscribed to the Google Groups "golang-nuts" group.

To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.