Created
September 26, 2013 15:21
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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