DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
big.NewInt()
Examples using...
big.NewInt()
Recent
Examples
Using math/big (Fibonacci) in Go
by GoDoc
Go
big.NewInt
fmt.Println
big.Int
big.Int.Exp
fmt
This example demonstrates how to use big.Int to compute the smallest Fibonacci number with 100 decimal digits and to test whether it is prime.