What steps will reproduce the problem?
1. Run
package main
import (
"fmt"
"math/big"
)
func main() {
var z big.Int
z.Exp(big.NewInt(-2), big.NewInt(0), nil)
fmt.Println(&z)
}
What is the expected output? What do you see instead?
Expected: 1
Got: -1
Please use labels and text to provide additional information.