Skip to content

Instantly share code, notes, and snippets.

@cfedde
Created September 26, 2013 15:21
Show Gist options
  • Save cfedde/6715698 to your computer and use it in GitHub Desktop.
Save cfedde/6715698 to your computer and use it in GitHub Desktop.
Is there a better way to call Exp here? It seems like I'm using i more often than I should.
package main
import (
"fmt"
"math/big"
)
func main() {
i := big.NewInt(6)
fmt.Println(i.Exp(i, i.Exp(i, i, nil), nil))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment