package main import ( "fmt" "math/big" ) func main() { set := make(map[*big.Int]bool) set[big.NewInt(10)] = true set[big.NewInt(20)] = true set[big.NewInt(30)] = true fmt.Println(set) }
package main import ( "fmt" "math/big" ) func main() { a := big.NewInt(123456789) b := big.NewInt(987654321) c := big.NewInt(0) c.Mul(a, b) fmt.Println(c) }In this example, we create two big.Int values and use the "Mul" method to multiply them together. The result is stored in another big.Int value called "c" and then printed to the console. Therefore, the "math/big" package library in Go is used for working with large integer values and providing methods for performing arithmetic, bitwise, and comparison operations on those values.