RosettaCodeData/Task/Zero-to-the-zero-power/Go/zero-to-the-zero-power.go
2015-02-20 09:02:09 -05:00

15 lines
262 B
Go

package main
import (
"fmt"
"math"
"math/big"
"math/cmplx"
)
func main() {
fmt.Println("float64: ", math.Pow(0, 0))
var b big.Int
fmt.Println("big integer:", b.Exp(&b, &b, nil))
fmt.Println("complex: ", cmplx.Pow(0, 0))
}